OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |