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

Side by Side Diff: ash/aura/wm_window_aura.cc

Issue 2265563002: Shuffles around immersive related classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@immersive_pure_virtual
Patch Set: move comment Created 4 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 unified diff | Download patch
« no previous file with comments | « ash/aura/wm_window_aura.h ('k') | ash/common/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "ash/aura/wm_window_aura.h" 5 #include "ash/aura/wm_window_aura.h"
6 6
7 #include "ash/aura/aura_layout_manager_adapter.h" 7 #include "ash/aura/aura_layout_manager_adapter.h"
8 #include "ash/aura/wm_root_window_controller_aura.h" 8 #include "ash/aura/wm_root_window_controller_aura.h"
9 #include "ash/aura/wm_shell_aura.h" 9 #include "ash/aura/wm_shell_aura.h"
10 #include "ash/common/ash_constants.h" 10 #include "ash/common/ash_constants.h"
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 } 650 }
651 651
652 void WmWindowAura::HideResizeShadow() { 652 void WmWindowAura::HideResizeShadow() {
653 ResizeShadowController* resize_shadow_controller = 653 ResizeShadowController* resize_shadow_controller =
654 Shell::GetInstance()->resize_shadow_controller(); 654 Shell::GetInstance()->resize_shadow_controller();
655 if (resize_shadow_controller) 655 if (resize_shadow_controller)
656 resize_shadow_controller->HideShadow(window_); 656 resize_shadow_controller->HideShadow(window_);
657 } 657 }
658 658
659 void WmWindowAura::InstallResizeHandleWindowTargeter( 659 void WmWindowAura::InstallResizeHandleWindowTargeter(
660 WmImmersiveFullscreenController* immersive_fullscreen_controller) { 660 ImmersiveFullscreenController* immersive_fullscreen_controller) {
661 window_->SetEventTargeter(base::MakeUnique<ResizeHandleWindowTargeter>( 661 window_->SetEventTargeter(base::MakeUnique<ResizeHandleWindowTargeter>(
662 window_, immersive_fullscreen_controller)); 662 window_, immersive_fullscreen_controller));
663 } 663 }
664 664
665 void WmWindowAura::SetBoundsInScreenBehaviorForChildren( 665 void WmWindowAura::SetBoundsInScreenBehaviorForChildren(
666 BoundsInScreenBehavior behavior) { 666 BoundsInScreenBehavior behavior) {
667 window_->SetProperty( 667 window_->SetProperty(
668 kUsesScreenCoordinatesKey, 668 kUsesScreenCoordinatesKey,
669 behavior == BoundsInScreenBehavior::USE_SCREEN_COORDINATES); 669 behavior == BoundsInScreenBehavior::USE_SCREEN_COORDINATES);
670 } 670 }
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 OnTransientChildAdded(this, Get(transient))); 824 OnTransientChildAdded(this, Get(transient)));
825 } 825 }
826 826
827 void WmWindowAura::OnTransientChildRemoved(aura::Window* window, 827 void WmWindowAura::OnTransientChildRemoved(aura::Window* window,
828 aura::Window* transient) { 828 aura::Window* transient) {
829 FOR_EACH_OBSERVER(WmTransientWindowObserver, transient_observers_, 829 FOR_EACH_OBSERVER(WmTransientWindowObserver, transient_observers_,
830 OnTransientChildRemoved(this, Get(transient))); 830 OnTransientChildRemoved(this, Get(transient)));
831 } 831 }
832 832
833 } // namespace ash 833 } // namespace ash
OLDNEW
« no previous file with comments | « ash/aura/wm_window_aura.h ('k') | ash/common/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698