Chromium Code Reviews

Side by Side Diff: chrome/browser/instant/instant_overlay_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.
Jump to:
View unified diff | | 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_OVERLAY_CONTROLLER_H_
6 #define CHROME_BROWSER_INSTANT_INSTANT_OVERLAY_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 overlay controllers.
15 class InstantOverlayController : public InstantModelObserver {
16 protected:
17 explicit InstantOverlayController(Browser* browser);
18 virtual ~InstantOverlayController();
19
20 Browser* const browser_;
21
22 private:
23 // Overridden from InstantModelObserver:
24 virtual void OverlayStateChanged(const InstantModel& model) OVERRIDE = 0;
25 };
26
27 #endif // CHROME_BROWSER_INSTANT_INSTANT_OVERLAY_CONTROLLER_H_
OLDNEW

Powered by Google App Engine