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

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

Issue 14080005: Remove ImmersiveModeController::MaybeStartReveal() / ImmersiveModeController::CancelReveal() (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased Created 7 years, 8 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 083628f91cc41d7f45e2cbb90580c75e2af4eca2..ebcb3e4a5e74d314a3ade143930fddcc5eb2447f 100644
--- a/chrome/browser/ui/views/frame/immersive_mode_controller_ash.h
+++ b/chrome/browser/ui/views/frame/immersive_mode_controller_ash.h
@@ -42,8 +42,6 @@ class ImmersiveModeControllerAsh : public ImmersiveModeController,
virtual bool ShouldHideTopViews() const OVERRIDE;
virtual bool IsRevealed() const OVERRIDE;
virtual void MaybeStackViewAtTop() OVERRIDE;
- virtual void MaybeStartReveal() OVERRIDE;
- virtual void CancelReveal() OVERRIDE;
virtual ImmersiveModeController::RevealedLock*
GetRevealedLock() OVERRIDE WARN_UNUSED_RESULT;
@@ -97,6 +95,9 @@ class ImmersiveModeControllerAsh : public ImmersiveModeController,
// Returns the animation duration given |animate|.
int GetAnimationDuration(Animate animate) const;
+ // Reveals the top-of-window views if immersive mode is enabled.
+ void MaybeStartReveal();
+
// Temporarily reveals the top-of-window views while in immersive mode,
// hiding them when the cursor exits the area of the top views. If |animate|
// is not ANIMATE_NO, slides in the view, otherwise shows it immediately.

Powered by Google App Engine
This is Rietveld 408576698