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

Side by Side Diff: chrome/browser/ui/views/frame/immersive_mode_controller.cc

Issue 12754010: Move immersive_mode_controller into c/b/ui/views/frame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/views/immersive_mode_controller.h" 5 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h"
6 6
7 #include "chrome/browser/ui/views/frame/browser_view.h" 7 #include "chrome/browser/ui/views/frame/browser_view.h"
8 #include "chrome/browser/ui/views/frame/top_container_view.h" 8 #include "chrome/browser/ui/views/frame/top_container_view.h"
9 #include "chrome/browser/ui/views/tabs/tab_strip.h" 9 #include "chrome/browser/ui/views/tabs/tab_strip.h"
10 #include "chrome/common/chrome_switches.h" 10 #include "chrome/common/chrome_switches.h"
11 #include "ui/compositor/layer_animation_observer.h" 11 #include "ui/compositor/layer_animation_observer.h"
12 #include "ui/compositor/scoped_layer_animation_settings.h" 12 #include "ui/compositor/scoped_layer_animation_settings.h"
13 #include "ui/gfx/transform.h" 13 #include "ui/gfx/transform.h"
14 #include "ui/views/view.h" 14 #include "ui/views/view.h"
15 #include "ui/views/widget/widget.h" 15 #include "ui/views/widget/widget.h"
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 if (reveal_state_ == SLIDING_CLOSED) { 413 if (reveal_state_ == SLIDING_CLOSED) {
414 reveal_state_ = CLOSED; 414 reveal_state_ = CLOSED;
415 TopContainerView* top_container = browser_view_->top_container(); 415 TopContainerView* top_container = browser_view_->top_container();
416 // Layer isn't needed after animation completes. 416 // Layer isn't needed after animation completes.
417 top_container->SetFillsBoundsOpaquely(false); 417 top_container->SetFillsBoundsOpaquely(false);
418 top_container->SetPaintToLayer(false); 418 top_container->SetPaintToLayer(false);
419 // Update tabstrip for closed state. 419 // Update tabstrip for closed state.
420 LayoutBrowserView(true); 420 LayoutBrowserView(true);
421 } 421 }
422 } 422 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698