Chromium Code Reviews| 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(); |