Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(340)

Side by Side Diff: chrome/renderer/searchbox/searchbox.h

Issue 2413663002: Remove embeddedSearch.searchBox.focus (Closed)
Patch Set: . Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_ 5 #ifndef CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_
6 #define CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_ 6 #define CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 // Returns the latest most visited items sent by the browser. 101 // Returns the latest most visited items sent by the browser.
102 void GetMostVisitedItems( 102 void GetMostVisitedItems(
103 std::vector<InstantMostVisitedItemIDPair>* items) const; 103 std::vector<InstantMostVisitedItemIDPair>* items) const;
104 104
105 // If the |most_visited_item_id| is found in the cache, sets |item| to it 105 // If the |most_visited_item_id| is found in the cache, sets |item| to it
106 // and returns true. 106 // and returns true.
107 bool GetMostVisitedItemWithID(InstantRestrictedID most_visited_item_id, 107 bool GetMostVisitedItemWithID(InstantRestrictedID most_visited_item_id,
108 InstantMostVisitedItem* item) const; 108 InstantMostVisitedItem* item) const;
109 109
110 // Sends ChromeViewHostMsg_FocusOmnibox to the browser.
111 void Focus();
112
113 // Sends ChromeViewHostMsg_SearchBoxPaste to the browser. 110 // Sends ChromeViewHostMsg_SearchBoxPaste to the browser.
114 void Paste(const base::string16& text); 111 void Paste(const base::string16& text);
115 112
116 const ThemeBackgroundInfo& GetThemeBackgroundInfo(); 113 const ThemeBackgroundInfo& GetThemeBackgroundInfo();
117 const EmbeddedSearchRequestParams& GetEmbeddedSearchRequestParams(); 114 const EmbeddedSearchRequestParams& GetEmbeddedSearchRequestParams();
118 115
119 // Sends ChromeViewHostMsg_StartCapturingKeyStrokes to the browser. 116 // Sends ChromeViewHostMsg_StartCapturingKeyStrokes to the browser.
120 void StartCapturingKeyStrokes(); 117 void StartCapturingKeyStrokes();
121 118
122 // Sends ChromeViewHostMsg_StopCapturingKeyStrokes to the browser. 119 // Sends ChromeViewHostMsg_StopCapturingKeyStrokes to the browser.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 InstantRestrictedIDCache<InstantMostVisitedItem> most_visited_items_cache_; 168 InstantRestrictedIDCache<InstantMostVisitedItem> most_visited_items_cache_;
172 ThemeBackgroundInfo theme_info_; 169 ThemeBackgroundInfo theme_info_;
173 base::string16 query_; 170 base::string16 query_;
174 EmbeddedSearchRequestParams embedded_search_request_params_; 171 EmbeddedSearchRequestParams embedded_search_request_params_;
175 InstantSuggestion suggestion_; 172 InstantSuggestion suggestion_;
176 173
177 DISALLOW_COPY_AND_ASSIGN(SearchBox); 174 DISALLOW_COPY_AND_ASSIGN(SearchBox);
178 }; 175 };
179 176
180 #endif // CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_ 177 #endif // CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_
OLDNEW
« no previous file with comments | « chrome/renderer/resources/extensions/searchbox_api.js ('k') | chrome/renderer/searchbox/searchbox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698