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 EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_H_ | 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_H_ |
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_H_ | 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 class CompoundEventFilter; | 45 class CompoundEventFilter; |
46 class CursorManager; | 46 class CursorManager; |
47 class InputMethodEventFilter; | 47 class InputMethodEventFilter; |
48 class UserActivityDetector; | 48 class UserActivityDetector; |
49 } | 49 } |
50 | 50 |
51 namespace extensions { | 51 namespace extensions { |
52 | 52 |
53 class Extension; | 53 class Extension; |
54 class ShellAppWindow; | 54 class ShellAppWindow; |
55 class ShellAppWindowController; | |
56 | 55 |
57 // Handles desktop-related tasks for app_shell. | 56 // Handles desktop-related tasks for app_shell. |
58 class ShellDesktopController : public DesktopController, | 57 class ShellDesktopController : public DesktopController, |
59 public aura::client::WindowTreeClient, | 58 public aura::client::WindowTreeClient, |
60 #if defined(OS_CHROMEOS) | 59 #if defined(OS_CHROMEOS) |
61 public chromeos::PowerManagerClient::Observer, | 60 public chromeos::PowerManagerClient::Observer, |
62 public ui::DisplayConfigurator::Observer, | 61 public ui::DisplayConfigurator::Observer, |
63 #endif | 62 #endif |
64 public aura::WindowTreeHostObserver { | 63 public aura::WindowTreeHostObserver { |
65 public: | 64 public: |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 | 132 |
134 // The desktop supports a single app window. | 133 // The desktop supports a single app window. |
135 scoped_ptr<ShellAppWindow> app_window_; | 134 scoped_ptr<ShellAppWindow> app_window_; |
136 | 135 |
137 DISALLOW_COPY_AND_ASSIGN(ShellDesktopController); | 136 DISALLOW_COPY_AND_ASSIGN(ShellDesktopController); |
138 }; | 137 }; |
139 | 138 |
140 } // namespace extensions | 139 } // namespace extensions |
141 | 140 |
142 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_H_ | 141 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_H_ |
OLD | NEW |