am df08adae: docs: add "Google Services" search tab

* commit 'df08adae5b003bfb056341254c35a16ec9295afe':
  docs: add "Google Services" search tab
This commit is contained in:
Scott Main
2012-12-03 11:53:28 -08:00
committed by Android Git Automerger

View File

@@ -1721,6 +1721,10 @@ function loadSearchResults() {
referenceSearcher.setUserDefinedLabel("Reference"); referenceSearcher.setUserDefinedLabel("Reference");
referenceSearcher.setSiteRestriction("http://developer.android.com/reference/"); referenceSearcher.setSiteRestriction("http://developer.android.com/reference/");
googleSearcher = new google.search.WebSearch();
googleSearcher.setUserDefinedLabel("Google Services");
googleSearcher.setSiteRestriction("http://developer.android.com/google/");
blogSearcher = new google.search.WebSearch(); blogSearcher = new google.search.WebSearch();
blogSearcher.setUserDefinedLabel("Blog"); blogSearcher.setUserDefinedLabel("Blog");
blogSearcher.setSiteRestriction("http://android-developers.blogspot.com"); blogSearcher.setSiteRestriction("http://android-developers.blogspot.com");
@@ -1731,6 +1735,7 @@ function loadSearchResults() {
searchControl.addSearcher(trainingSearcher, searchOptions); searchControl.addSearcher(trainingSearcher, searchOptions);
searchControl.addSearcher(guidesSearcher, searchOptions); searchControl.addSearcher(guidesSearcher, searchOptions);
searchControl.addSearcher(referenceSearcher, searchOptions); searchControl.addSearcher(referenceSearcher, searchOptions);
searchControl.addSearcher(googleSearcher, searchOptions);
searchControl.addSearcher(blogSearcher, searchOptions); searchControl.addSearcher(blogSearcher, searchOptions);
// configure result options // configure result options