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

Side by Side Diff: components/exo/wm_helper_ash.cc

Issue 2704173002: Update the layout mode first when exiting tablet mode (Closed)
Patch Set: . Created 3 years, 10 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
« ash/common/shell_observer.h ('K') | « components/exo/wm_helper_ash.h ('k') | no next file » | 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 "components/exo/wm_helper_ash.h" 5 #include "components/exo/wm_helper_ash.h"
6 6
7 #include "ash/common/accessibility_delegate.h" 7 #include "ash/common/accessibility_delegate.h"
8 #include "ash/common/system/tray/system_tray_notifier.h" 8 #include "ash/common/system/tray/system_tray_notifier.h"
9 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h" 9 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h"
10 #include "ash/common/wm_shell.h" 10 #include "ash/common/wm_shell.h"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 129
130 void WMHelperAsh::OnAccessibilityModeChanged( 130 void WMHelperAsh::OnAccessibilityModeChanged(
131 ash::AccessibilityNotificationVisibility notify) { 131 ash::AccessibilityNotificationVisibility notify) {
132 NotifyAccessibilityModeChanged(); 132 NotifyAccessibilityModeChanged();
133 } 133 }
134 134
135 void WMHelperAsh::OnMaximizeModeStarted() { 135 void WMHelperAsh::OnMaximizeModeStarted() {
136 NotifyMaximizeModeStarted(); 136 NotifyMaximizeModeStarted();
137 } 137 }
138 138
139 void WMHelperAsh::OnMaximizeModeEnding() {
140 NotifyMaximizeModeEnding();
141 }
142
139 void WMHelperAsh::OnMaximizeModeEnded() { 143 void WMHelperAsh::OnMaximizeModeEnded() {
140 NotifyMaximizeModeEnded(); 144 NotifyMaximizeModeEnded();
141 } 145 }
142 146
143 void WMHelperAsh::OnKeyboardDeviceConfigurationChanged() { 147 void WMHelperAsh::OnKeyboardDeviceConfigurationChanged() {
144 NotifyKeyboardDeviceConfigurationChanged(); 148 NotifyKeyboardDeviceConfigurationChanged();
145 } 149 }
146 150
147 } // namespace exo 151 } // namespace exo
OLDNEW
« ash/common/shell_observer.h ('K') | « components/exo/wm_helper_ash.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698