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

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

Issue 2736243002: Remove SearchTabHelperDelegate::OnWebContentsInstantSupportDisabled (Closed)
Patch Set: Created 3 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_DELEGATE_H_
6 #define CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_DELEGATE_H_
7 7
8 namespace content {
9 class WebContents;
10 }
11
12 class OmniboxView; 8 class OmniboxView;
13 9
14 // Objects implement this interface to get notified about changes in the 10 // Objects implement this interface to provide necessary functionality to
15 // SearchTabHelper and to provide necessary functionality. 11 // SearchTabHelper.
16 class SearchTabHelperDelegate { 12 class SearchTabHelperDelegate {
17 public: 13 public:
18 // Invoked when the |web_contents| no longer supports Instant.
19 virtual void OnWebContentsInstantSupportDisabled(
20 const content::WebContents* web_contents);
21
22 // Returns the OmniboxView or NULL if not available. 14 // Returns the OmniboxView or NULL if not available.
23 virtual OmniboxView* GetOmniboxView(); 15 virtual OmniboxView* GetOmniboxView();
24 16
25 protected: 17 protected:
26 virtual ~SearchTabHelperDelegate(); 18 virtual ~SearchTabHelperDelegate();
27 }; 19 };
28 20
29 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_DELEGATE_H_ 21 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698