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

Side by Side Diff: chrome/browser/ui/webui/chromeos/touch_view_controller_delegate.cc

Issue 2118643002: Move MaximizeModeController into ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: doh 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/webui/chromeos/touch_view_controller_delegate.h" 5 #include "chrome/browser/ui/webui/chromeos/touch_view_controller_delegate.h"
6 6
7 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h"
7 #include "ash/common/wm_shell.h" 8 #include "ash/common/wm_shell.h"
8 #include "ash/shell.h" 9 #include "ash/shell.h"
9 #include "ash/wm/maximize_mode/maximize_mode_controller.h"
10 10
11 namespace chromeos { 11 namespace chromeos {
12 12
13 TouchViewControllerDelegate::TouchViewControllerDelegate() { 13 TouchViewControllerDelegate::TouchViewControllerDelegate() {
14 ash::WmShell::Get()->AddShellObserver(this); 14 ash::WmShell::Get()->AddShellObserver(this);
15 } 15 }
16 16
17 TouchViewControllerDelegate::~TouchViewControllerDelegate() { 17 TouchViewControllerDelegate::~TouchViewControllerDelegate() {
18 ash::WmShell::Get()->RemoveShellObserver(this); 18 ash::WmShell::Get()->RemoveShellObserver(this);
19 } 19 }
(...skipping 13 matching lines...) Expand all
33 33
34 void TouchViewControllerDelegate::OnMaximizeModeStarted() { 34 void TouchViewControllerDelegate::OnMaximizeModeStarted() {
35 FOR_EACH_OBSERVER(Observer, observers_, OnMaximizeModeStarted()); 35 FOR_EACH_OBSERVER(Observer, observers_, OnMaximizeModeStarted());
36 } 36 }
37 37
38 void TouchViewControllerDelegate::OnMaximizeModeEnded() { 38 void TouchViewControllerDelegate::OnMaximizeModeEnded() {
39 FOR_EACH_OBSERVER(Observer, observers_, OnMaximizeModeEnded()); 39 FOR_EACH_OBSERVER(Observer, observers_, OnMaximizeModeEnded());
40 } 40 }
41 41
42 } // namespace chromeos 42 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_drag_controller.cc ('k') | components/arc/window_manager/arc_window_manager_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698