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

Unified Diff: chrome/browser/instant/instant_overlay_controller.h

Issue 12387089: Instant: Rename 'preview' to 'overlay' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/instant/instant_overlay.cc ('k') | chrome/browser/instant/instant_overlay_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/instant/instant_overlay_controller.h
diff --git a/chrome/browser/instant/instant_overlay_controller.h b/chrome/browser/instant/instant_overlay_controller.h
new file mode 100644
index 0000000000000000000000000000000000000000..a2464f1e96f679109d637fdd875d5b1bc48db4f0
--- /dev/null
+++ b/chrome/browser/instant/instant_overlay_controller.h
@@ -0,0 +1,28 @@
+// Copyright 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_INSTANT_INSTANT_OVERLAY_CONTROLLER_H_
+#define CHROME_BROWSER_INSTANT_INSTANT_OVERLAY_CONTROLLER_H_
+
+#include "base/compiler_specific.h"
+#include "chrome/browser/instant/instant_overlay_model_observer.h"
+
+class Browser;
+class InstantOverlayModel;
+
+// Abstract base class for platform-specific Instant overlay controllers.
+class InstantOverlayController : public InstantOverlayModelObserver {
+ protected:
+ explicit InstantOverlayController(Browser* browser);
+ virtual ~InstantOverlayController();
+
+ Browser* const browser_;
+
+ private:
+ // Overridden from InstantOverlayModelObserver:
+ virtual void OverlayStateChanged(
+ const InstantOverlayModel& model) OVERRIDE = 0;
+};
+
+#endif // CHROME_BROWSER_INSTANT_INSTANT_OVERLAY_CONTROLLER_H_
« no previous file with comments | « chrome/browser/instant/instant_overlay.cc ('k') | chrome/browser/instant/instant_overlay_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698