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

Side by Side Diff: chrome/browser/ui/search/instant_page.h

Issue 17526008: Log NTP hovers in 1993 clients (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 7 years, 5 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BROWSER_UI_SEARCH_INSTANT_PAGE_H_ 5 #ifndef CHROME_BROWSER_UI_SEARCH_INSTANT_PAGE_H_
6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_PAGE_H_ 6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_PAGE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 const std::vector<InstantSuggestion>& suggestions); 201 const std::vector<InstantSuggestion>& suggestions);
202 void OnShowInstantOverlay(int page_id, 202 void OnShowInstantOverlay(int page_id,
203 int height, 203 int height,
204 InstantSizeUnits units); 204 InstantSizeUnits units);
205 void OnFocusOmnibox(int page_id, OmniboxFocusState state); 205 void OnFocusOmnibox(int page_id, OmniboxFocusState state);
206 void OnSearchBoxNavigate(int page_id, 206 void OnSearchBoxNavigate(int page_id,
207 const GURL& url, 207 const GURL& url,
208 content::PageTransition transition, 208 content::PageTransition transition,
209 WindowOpenDisposition disposition, 209 WindowOpenDisposition disposition,
210 bool is_search_type); 210 bool is_search_type);
211 void OnCountMouseover(int page_id);
211 void OnDeleteMostVisitedItem(int page_id, const GURL& url); 212 void OnDeleteMostVisitedItem(int page_id, const GURL& url);
212 void OnUndoMostVisitedDeletion(int page_id, const GURL& url); 213 void OnUndoMostVisitedDeletion(int page_id, const GURL& url);
213 void OnUndoAllMostVisitedDeletions(int page_id); 214 void OnUndoAllMostVisitedDeletions(int page_id);
214 215
215 void ClearContents(); 216 void ClearContents();
216 217
217 Delegate* const delegate_; 218 Delegate* const delegate_;
218 scoped_ptr<InstantIPCSender> ipc_sender_; 219 scoped_ptr<InstantIPCSender> ipc_sender_;
219 const std::string instant_url_; 220 const std::string instant_url_;
220 const bool is_incognito_; 221 const bool is_incognito_;
221 222
222 DISALLOW_COPY_AND_ASSIGN(InstantPage); 223 DISALLOW_COPY_AND_ASSIGN(InstantPage);
223 }; 224 };
224 225
225 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_PAGE_H_ 226 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_PAGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698