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

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

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_ash.cc
diff --git a/chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc b/chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc
index aefc397df86ec64ec3154f56c52dc118301c931e..d371de4c98c85eaf814235e0a3f728b898814f6d 100644
--- a/chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc
+++ b/chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc
@@ -288,11 +288,11 @@ ImmersiveModeControllerAsh::ImmersiveModeControllerAsh()
revealed_lock_count_(0),
tab_indicator_visibility_(TAB_INDICATORS_HIDE),
mouse_x_when_hit_top_(-1),
+ gesture_begun_(false),
native_window_(NULL),
animation_(new ui::SlideAnimation(this)),
animations_disabled_for_test_(false),
- weak_ptr_factory_(this),
- gesture_begun_(false) {
+ weak_ptr_factory_(this) {
}
ImmersiveModeControllerAsh::~ImmersiveModeControllerAsh() {
@@ -934,6 +934,10 @@ void ImmersiveModeControllerAsh::MaybeStartReveal(Animate animate) {
animation_->SetSlideDuration(GetAnimationDuration(animate));
animation_->Show();
}
+
+ if (previous_reveal_state == CLOSED) {
sky 2013/06/19 13:32:29 nit: no {}
+ FOR_EACH_OBSERVER(Observer, observers_, OnImmersiveRevealStarted());
+ }
}
void ImmersiveModeControllerAsh::EnablePaintToLayer(bool enable) {

Powered by Google App Engine
This is Rietveld 408576698