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

Unified Diff: chrome/browser/ui/views/frame/immersive_mode_controller.h

Issue 16998006: Add handling for immersive fullscreen to the zoom bubble (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
Index: chrome/browser/ui/views/frame/immersive_mode_controller.h
diff --git a/chrome/browser/ui/views/frame/immersive_mode_controller.h b/chrome/browser/ui/views/frame/immersive_mode_controller.h
index 8978e7fbbb90b1f67c386115549cba94e9acef3d..08a1ea36ab8faf7f7e512c23ab7c42b076c66e0c 100644
--- a/chrome/browser/ui/views/frame/immersive_mode_controller.h
+++ b/chrome/browser/ui/views/frame/immersive_mode_controller.h
@@ -39,6 +39,14 @@ class ImmersiveModeController {
ANIMATE_REVEAL_NO
};
+ class Observer {
+ public:
+ virtual ~Observer() {}
+
+ // Called when a reveal of the top-of-window views has been initiated.
+ virtual void OnStartedImmersiveReveal() {}
James Cook 2013/06/17 16:13:41 nit: OnImmersiveRevealStarted()? Might be a bit m
+ };
+
class Delegate {
public:
// Returns the bookmark bar, or NULL if the window does not support one.
@@ -120,6 +128,9 @@ class ImmersiveModeController {
// Called by the TopContainerView to indicate that its bounds have changed.
virtual void OnTopContainerBoundsChanged() = 0;
+
+ virtual void AddObserver(Observer* observer) = 0;
+ virtual void RemoveObserver(Observer* observer) = 0;
};
namespace chrome {

Powered by Google App Engine
This is Rietveld 408576698