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

Side by Side Diff: chrome/browser/ui/browser_instant_controller.h

Issue 2885853002: Instant: remove InstantSupportState (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/ui/browser_instant_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_BROWSER_INSTANT_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_INSTANT_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_BROWSER_INSTANT_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_INSTANT_CONTROLLER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "chrome/browser/search/instant_service_observer.h" 10 #include "chrome/browser/search/instant_service_observer.h"
(...skipping 27 matching lines...) Expand all
38 content::WebContents* GetActiveWebContents() const; 38 content::WebContents* GetActiveWebContents() const;
39 39
40 // Invoked by |browser_| when the active tab changes. 40 // Invoked by |browser_| when the active tab changes.
41 void ActiveTabChanged(); 41 void ActiveTabChanged();
42 42
43 // Invoked by |browser_| when the active tab is about to be deactivated. 43 // Invoked by |browser_| when the active tab is about to be deactivated.
44 void TabDeactivated(content::WebContents* contents); 44 void TabDeactivated(content::WebContents* contents);
45 45
46 private: 46 private:
47 // SearchModelObserver: 47 // SearchModelObserver:
48 void ModelChanged(const SearchModel::State& old_state, 48 void ModelChanged(const SearchMode& old_mode,
49 const SearchModel::State& new_state) override; 49 const SearchMode& new_mode) override;
50 50
51 // InstantServiceObserver: 51 // InstantServiceObserver:
52 void DefaultSearchProviderChanged( 52 void DefaultSearchProviderChanged(
53 bool google_base_url_domain_changed) override; 53 bool google_base_url_domain_changed) override;
54 54
55 Browser* const browser_; 55 Browser* const browser_;
56 56
57 InstantController instant_; 57 InstantController instant_;
58 58
59 DISALLOW_COPY_AND_ASSIGN(BrowserInstantController); 59 DISALLOW_COPY_AND_ASSIGN(BrowserInstantController);
60 }; 60 };
61 61
62 #endif // CHROME_BROWSER_UI_BROWSER_INSTANT_CONTROLLER_H_ 62 #endif // CHROME_BROWSER_UI_BROWSER_INSTANT_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/browser_instant_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698