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

Side by Side Diff: chrome/browser/instant/instant_preview_controller.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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_INSTANT_INSTANT_PREVIEW_CONTROLLER_H_
6 #define CHROME_BROWSER_INSTANT_INSTANT_PREVIEW_CONTROLLER_H_
7
8 #include "base/compiler_specific.h"
9 #include "chrome/browser/instant/instant_model_observer.h"
10
11 class Browser;
12 class InstantModel;
13
14 // Abstract base class for platform-specific Instant preview controllers.
15 class InstantPreviewController : public InstantModelObserver {
16 protected:
17 explicit InstantPreviewController(Browser* browser);
18 virtual ~InstantPreviewController();
19
20 Browser* const browser_;
21
22 private:
23 // Overridden from InstantModelObserver:
24 virtual void PreviewStateChanged(const InstantModel& model) OVERRIDE = 0;
25 };
26
27 #endif // CHROME_BROWSER_INSTANT_INSTANT_PREVIEW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698