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

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

Issue 1006753003: Add time from navigation_start to NTP LogEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_ 5 #ifndef CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_
6 #define CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_ 6 #define CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 // Overridden from SearchIPCRouter::Delegate: 164 // Overridden from SearchIPCRouter::Delegate:
165 void OnInstantSupportDetermined(bool supports_instant) override; 165 void OnInstantSupportDetermined(bool supports_instant) override;
166 void OnSetVoiceSearchSupport(bool supports_voice_search) override; 166 void OnSetVoiceSearchSupport(bool supports_voice_search) override;
167 void FocusOmnibox(OmniboxFocusState state) override; 167 void FocusOmnibox(OmniboxFocusState state) override;
168 void NavigateToURL(const GURL& url, 168 void NavigateToURL(const GURL& url,
169 WindowOpenDisposition disposition, 169 WindowOpenDisposition disposition,
170 bool is_most_visited_item_url) override; 170 bool is_most_visited_item_url) override;
171 void OnDeleteMostVisitedItem(const GURL& url) override; 171 void OnDeleteMostVisitedItem(const GURL& url) override;
172 void OnUndoMostVisitedDeletion(const GURL& url) override; 172 void OnUndoMostVisitedDeletion(const GURL& url) override;
173 void OnUndoAllMostVisitedDeletions() override; 173 void OnUndoAllMostVisitedDeletions() override;
174 void OnLogEvent(NTPLoggingEventType event) override; 174 void OnLogEvent(NTPLoggingEventType event, uint64 time) override;
175 void OnLogMostVisitedImpression(int position, 175 void OnLogMostVisitedImpression(int position,
176 const base::string16& provider) override; 176 const base::string16& provider) override;
177 void OnLogMostVisitedNavigation(int position, 177 void OnLogMostVisitedNavigation(int position,
178 const base::string16& provider) override; 178 const base::string16& provider) override;
179 void PasteIntoOmnibox(const base::string16& text) override; 179 void PasteIntoOmnibox(const base::string16& text) override;
180 void OnChromeIdentityCheck(const base::string16& identity) override; 180 void OnChromeIdentityCheck(const base::string16& identity) override;
181 void OnHistorySyncCheck() override; 181 void OnHistorySyncCheck() override;
182 182
183 // Overridden from InstantServiceObserver: 183 // Overridden from InstantServiceObserver:
184 void ThemeInfoChanged(const ThemeBackgroundInfo& theme_info) override; 184 void ThemeInfoChanged(const ThemeBackgroundInfo& theme_info) override;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 SearchTabHelperDelegate* delegate_; 233 SearchTabHelperDelegate* delegate_;
234 234
235 // Function to check if the omnibox has focus. Tests use this to modify the 235 // Function to check if the omnibox has focus. Tests use this to modify the
236 // default behavior. 236 // default behavior.
237 OmniboxHasFocusFn omnibox_has_focus_fn_; 237 OmniboxHasFocusFn omnibox_has_focus_fn_;
238 238
239 DISALLOW_COPY_AND_ASSIGN(SearchTabHelper); 239 DISALLOW_COPY_AND_ASSIGN(SearchTabHelper);
240 }; 240 };
241 241
242 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_ 242 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698