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

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

Issue 1543203002: Remove a variety of no-longer-used query params. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 4 years, 11 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/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 void OnLogMostVisitedNavigation(int position, 172 void OnLogMostVisitedNavigation(int position,
173 const base::string16& provider) override; 173 const base::string16& provider) override;
174 void PasteIntoOmnibox(const base::string16& text) override; 174 void PasteIntoOmnibox(const base::string16& text) override;
175 void OnChromeIdentityCheck(const base::string16& identity) override; 175 void OnChromeIdentityCheck(const base::string16& identity) override;
176 void OnHistorySyncCheck() override; 176 void OnHistorySyncCheck() override;
177 177
178 // Overridden from InstantServiceObserver: 178 // Overridden from InstantServiceObserver:
179 void ThemeInfoChanged(const ThemeBackgroundInfo& theme_info) override; 179 void ThemeInfoChanged(const ThemeBackgroundInfo& theme_info) override;
180 void MostVisitedItemsChanged( 180 void MostVisitedItemsChanged(
181 const std::vector<InstantMostVisitedItem>& items) override; 181 const std::vector<InstantMostVisitedItem>& items) override;
182 void OmniboxStartMarginChanged(int omnibox_start_margin) override;
183 182
184 // Sets the mode of the model based on the current URL of web_contents(). 183 // Sets the mode of the model based on the current URL of web_contents().
185 // Only updates the origin part of the mode if |update_origin| is true, 184 // Only updates the origin part of the mode if |update_origin| is true,
186 // otherwise keeps the current origin. If |is_preloaded_ntp| is true, the mode 185 // otherwise keeps the current origin. If |is_preloaded_ntp| is true, the mode
187 // is set to NTP regardless of the current URL; this is used to ensure that 186 // is set to NTP regardless of the current URL; this is used to ensure that
188 // InstantController can bind InstantTab to new tab pages immediately. 187 // InstantController can bind InstantTab to new tab pages immediately.
189 void UpdateMode(bool update_origin, bool is_preloaded_ntp); 188 void UpdateMode(bool update_origin, bool is_preloaded_ntp);
190 189
191 // Tells the renderer to determine if the page supports the Instant API, which 190 // Tells the renderer to determine if the page supports the Instant API, which
192 // results in a call to OnInstantSupportDetermined() when the reply is 191 // results in a call to OnInstantSupportDetermined() when the reply is
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 SearchTabHelperDelegate* delegate_; 231 SearchTabHelperDelegate* delegate_;
233 232
234 // Function to check if the omnibox has focus. Tests use this to modify the 233 // Function to check if the omnibox has focus. Tests use this to modify the
235 // default behavior. 234 // default behavior.
236 OmniboxHasFocusFn omnibox_has_focus_fn_; 235 OmniboxHasFocusFn omnibox_has_focus_fn_;
237 236
238 DISALLOW_COPY_AND_ASSIGN(SearchTabHelper); 237 DISALLOW_COPY_AND_ASSIGN(SearchTabHelper);
239 }; 238 };
240 239
241 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_ 240 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/search/search_ipc_router_unittest.cc ('k') | chrome/browser/ui/search/search_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698