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

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

Issue 17526008: Log NTP hovers in 1993 clients (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Spacing fixes Created 7 years, 6 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 <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
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_SearchBoxLogIframeHover to the browser.
62 void LogIframeHover(int pos);
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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 string16 omnibox_font_; 202 string16 omnibox_font_;
200 size_t omnibox_font_size_; 203 size_t omnibox_font_size_;
201 InstantRestrictedIDCache<InstantAutocompleteResult> 204 InstantRestrictedIDCache<InstantAutocompleteResult>
202 autocomplete_results_cache_; 205 autocomplete_results_cache_;
203 InstantRestrictedIDCache<InstantMostVisitedItem> most_visited_items_cache_; 206 InstantRestrictedIDCache<InstantMostVisitedItem> most_visited_items_cache_;
204 207
205 DISALLOW_COPY_AND_ASSIGN(SearchBox); 208 DISALLOW_COPY_AND_ASSIGN(SearchBox);
206 }; 209 };
207 210
208 #endif // CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_ 211 #endif // CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698