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

Side by Side Diff: chrome/browser/instant/instant_model_observer.h

Issue 12386019: Instant: Use only one hidden WebContents per profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
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_INSTANT_INSTANT_MODEL_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_INSTANT_INSTANT_MODEL_OBSERVER_H_
6 #define CHROME_BROWSER_INSTANT_INSTANT_MODEL_OBSERVER_H_ 6 #define CHROME_BROWSER_INSTANT_INSTANT_MODEL_OBSERVER_H_
7 7
8 class InstantModel; 8 class InstantModel;
9 9
10 // This class defines the observer interface for the |InstantModel|. 10 // This class defines the observer interface for the InstantModel.
11 class InstantModelObserver { 11 class InstantModelObserver {
12 public: 12 public:
13 // Informs the observer that the preview state has changed. This can mean 13 // Informs the observer that the overlay state has changed. This can mean
14 // either the model state changed or the contents of the preview changed. 14 // either the model state changed or the contents of the overlay changed.
15 virtual void PreviewStateChanged(const InstantModel& model) = 0; 15 virtual void OverlayStateChanged(const InstantModel& model) = 0;
16 16
17 protected: 17 protected:
18 ~InstantModelObserver() {} 18 ~InstantModelObserver() {}
19 }; 19 };
20 20
21 #endif // CHROME_BROWSER_INSTANT_INSTANT_MODEL_OBSERVER_H_ 21 #endif // CHROME_BROWSER_INSTANT_INSTANT_MODEL_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698