OLD | NEW |
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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 51 |
52 // Sends ChromeViewHostMsg_StopCapturingKeyStrokes to the browser. | 52 // Sends ChromeViewHostMsg_StopCapturingKeyStrokes to the browser. |
53 void StopCapturingKeyStrokes(); | 53 void StopCapturingKeyStrokes(); |
54 | 54 |
55 // Sends ChromeViewHostMsg_SearchBoxNavigate to the browser. | 55 // Sends ChromeViewHostMsg_SearchBoxNavigate to the browser. |
56 void NavigateToURL(const GURL& url, | 56 void NavigateToURL(const GURL& url, |
57 content::PageTransition transition, | 57 content::PageTransition transition, |
58 WindowOpenDisposition disposition, | 58 WindowOpenDisposition disposition, |
59 bool is_search_type); | 59 bool is_search_type); |
60 | 60 |
| 61 // Sends ChromeViewHostMsg_CountMouseover to the browser. |
| 62 void CountMouseover(); |
| 63 |
61 // Shows any attached bars. | 64 // Shows any attached bars. |
62 void ShowBars(); | 65 void ShowBars(); |
63 | 66 |
64 // Hides any attached bars. When the bars are hidden, the "onbarshidden" | 67 // Hides any attached bars. When the bars are hidden, the "onbarshidden" |
65 // event is fired to notify the page. | 68 // event is fired to notify the page. |
66 void HideBars(); | 69 void HideBars(); |
67 | 70 |
68 const string16& query() const { return query_; } | 71 const string16& query() const { return query_; } |
69 bool verbatim() const { return verbatim_; } | 72 bool verbatim() const { return verbatim_; } |
70 bool query_is_restricted() const { return query_is_restricted_; } | 73 bool query_is_restricted() const { return query_is_restricted_; } |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 size_t omnibox_font_size_; | 205 size_t omnibox_font_size_; |
203 bool app_launcher_enabled_; | 206 bool app_launcher_enabled_; |
204 InstantRestrictedIDCache<InstantAutocompleteResult> | 207 InstantRestrictedIDCache<InstantAutocompleteResult> |
205 autocomplete_results_cache_; | 208 autocomplete_results_cache_; |
206 InstantRestrictedIDCache<InstantMostVisitedItem> most_visited_items_cache_; | 209 InstantRestrictedIDCache<InstantMostVisitedItem> most_visited_items_cache_; |
207 | 210 |
208 DISALLOW_COPY_AND_ASSIGN(SearchBox); | 211 DISALLOW_COPY_AND_ASSIGN(SearchBox); |
209 }; | 212 }; |
210 | 213 |
211 #endif // CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_ | 214 #endif // CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_ |
OLD | NEW |