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

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

Issue 2134753004: mash: Partially migrate ScreenOrientationController to ash/common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync and rebase. Created 4 years, 5 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/wm_window_observer.h » ('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 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 void WmWindowAura::OnWindowDestroyed(aura::Window* window) { 711 void WmWindowAura::OnWindowDestroyed(aura::Window* window) {
712 FOR_EACH_OBSERVER(WmWindowObserver, observers_, OnWindowDestroyed(this)); 712 FOR_EACH_OBSERVER(WmWindowObserver, observers_, OnWindowDestroyed(this));
713 } 713 }
714 714
715 void WmWindowAura::OnWindowVisibilityChanging(aura::Window* window, 715 void WmWindowAura::OnWindowVisibilityChanging(aura::Window* window,
716 bool visible) { 716 bool visible) {
717 FOR_EACH_OBSERVER(WmWindowObserver, observers_, 717 FOR_EACH_OBSERVER(WmWindowObserver, observers_,
718 OnWindowVisibilityChanging(this, visible)); 718 OnWindowVisibilityChanging(this, visible));
719 } 719 }
720 720
721 void WmWindowAura::OnWindowVisibilityChanged(aura::Window* window,
722 bool visible) {
723 FOR_EACH_OBSERVER(WmWindowObserver, observers_,
724 OnWindowVisibilityChanged(this, visible));
725 }
726
721 void WmWindowAura::OnWindowTitleChanged(aura::Window* window) { 727 void WmWindowAura::OnWindowTitleChanged(aura::Window* window) {
722 FOR_EACH_OBSERVER(WmWindowObserver, observers_, OnWindowTitleChanged(this)); 728 FOR_EACH_OBSERVER(WmWindowObserver, observers_, OnWindowTitleChanged(this));
723 } 729 }
724 730
725 } // namespace ash 731 } // namespace ash
OLDNEW
« no previous file with comments | « ash/aura/wm_window_aura.h ('k') | ash/common/wm_window_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698