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

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

Issue 15734011: Correct immersive mode gestures under rotation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added in OnWindowRemovedFromRootWindow Created 7 years, 7 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_ash.h
diff --git a/chrome/browser/ui/views/frame/immersive_mode_controller_ash.h b/chrome/browser/ui/views/frame/immersive_mode_controller_ash.h
index 15d004e04781489259c6eda826c39b4e7bea5547..16cc63f33119a4531c078e1f93c56434cadaa3e6 100644
--- a/chrome/browser/ui/views/frame/immersive_mode_controller_ash.h
+++ b/chrome/browser/ui/views/frame/immersive_mode_controller_ash.h
@@ -55,6 +55,10 @@ class ImmersiveModeControllerAsh : public ImmersiveModeController,
// Shows the reveal view without any animations if immersive mode is enabled.
void MaybeRevealWithoutAnimation();
+ // Call Add/RemovePreTargerHandler since the RootWindow or WindowObservers
+ // enabled state has changed.
+ void SetPreTargetHandler();
+
// ImmersiveModeController overrides:
virtual void Init(Delegate* delegate,
views::Widget* widget,

Powered by Google App Engine
This is Rietveld 408576698