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

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

Issue 22238003: Keep the top-of-window views revealed when clicking on the top-of-window views with a bubble open (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 8ba1f2ae6c1f686c2ab15455b6b1409620dd05fa..b2d452a304823210138b5032f341bb41dbab358b 100644
--- a/chrome/browser/ui/views/frame/immersive_mode_controller_ash.h
+++ b/chrome/browser/ui/views/frame/immersive_mode_controller_ash.h
@@ -133,6 +133,10 @@ class ImmersiveModeControllerAsh : public ImmersiveModeController,
REVEALED, // All views showing, y = 0.
SLIDING_CLOSED, // All views showing, y animating from 0 to -height.
};
+ enum RevealWhileClosing {
James Cook 2013/08/06 23:32:42 Document what these mean. Also, I find the name a
+ REVEAL_WHILE_CLOSING_YES,
+ REVEAL_WHILE_CLOSING_NO
+ };
enum TabIndicatorVisibility {
TAB_INDICATORS_FORCE_HIDE,
TAB_INDICATORS_HIDE,
@@ -156,7 +160,8 @@ class ImmersiveModeControllerAsh : public ImmersiveModeController,
// Updates |located_event_revealed_lock_| based on the current mouse state and
// the current touch state.
// |event| is NULL if the source event is not known.
- void UpdateLocatedEventRevealedLock(ui::LocatedEvent* event);
+ void UpdateLocatedEventRevealedLock(ui::LocatedEvent* event,
+ RevealWhileClosing reveal_while_closing);
// Acquires |located_event_revealed_lock_| if it is not already held.
void AcquireLocatedEventRevealedLock();

Powered by Google App Engine
This is Rietveld 408576698