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

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

Issue 2047373002: Moves ShellObserver to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_TOUCH_VIEW_CONTROLLER_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_TOUCH_VIEW_CONTROLLER_DELEGATE_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_TOUCH_VIEW_CONTROLLER_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_TOUCH_VIEW_CONTROLLER_DELEGATE_H_
7 7
8 #include "ash/shell_observer.h" 8 #include "ash/common/shell_observer.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
11 11
12 namespace chromeos { 12 namespace chromeos {
13 13
14 // An interface for ash::MaximizeModeController. 14 // An interface for ash::MaximizeModeController.
15 class TouchViewControllerDelegate : public ash::ShellObserver { 15 class TouchViewControllerDelegate : public ash::ShellObserver {
16 public: 16 public:
17 // Observer that reports changes to the state of MaximizeModeController's 17 // Observer that reports changes to the state of MaximizeModeController's
18 // rotation lock. 18 // rotation lock.
(...skipping 25 matching lines...) Expand all
44 44
45 // Mode state change observers. 45 // Mode state change observers.
46 base::ObserverList<Observer> observers_; 46 base::ObserverList<Observer> observers_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(TouchViewControllerDelegate); 48 DISALLOW_COPY_AND_ASSIGN(TouchViewControllerDelegate);
49 }; 49 };
50 50
51 } // namespace chromeos 51 } // namespace chromeos
52 52
53 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_TOUCH_VIEW_CONTROLLER_DELEGATE_H_ 53 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_TOUCH_VIEW_CONTROLLER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698