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_AURA_H_ | 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_AURA_H_ |
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_AURA_H_ | 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_AURA_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 void CreateRootWindow(); | 104 void CreateRootWindow(); |
105 | 105 |
106 // Closes and destroys the root window hosting the app. | 106 // Closes and destroys the root window hosting the app. |
107 void DestroyRootWindow(); | 107 void DestroyRootWindow(); |
108 | 108 |
109 // Returns the dimensions (in pixels) of the primary display, or an empty size | 109 // Returns the dimensions (in pixels) of the primary display, or an empty size |
110 // if the dimensions can't be determined or no display is connected. | 110 // if the dimensions can't be determined or no display is connected. |
111 gfx::Size GetPrimaryDisplaySize(); | 111 gfx::Size GetPrimaryDisplaySize(); |
112 | 112 |
113 #if defined(OS_CHROMEOS) | 113 #if defined(OS_CHROMEOS) |
114 scoped_ptr<ui::DisplayConfigurator> display_configurator_; | 114 ui::DisplayConfigurator* display_configurator_; |
115 #endif | 115 #endif |
116 | 116 |
117 scoped_ptr<ShellScreen> screen_; | 117 scoped_ptr<ShellScreen> screen_; |
118 | 118 |
119 scoped_ptr<aura::WindowTreeHost> host_; | 119 scoped_ptr<aura::WindowTreeHost> host_; |
120 | 120 |
121 scoped_ptr<wm::CompoundEventFilter> root_window_event_filter_; | 121 scoped_ptr<wm::CompoundEventFilter> root_window_event_filter_; |
122 | 122 |
123 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_; | 123 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_; |
124 | 124 |
(...skipping 12 matching lines...) Expand all Loading... |
137 | 137 |
138 // NativeAppWindow::Close() deletes the AppWindow. | 138 // NativeAppWindow::Close() deletes the AppWindow. |
139 std::vector<AppWindow*> app_windows_; | 139 std::vector<AppWindow*> app_windows_; |
140 | 140 |
141 DISALLOW_COPY_AND_ASSIGN(ShellDesktopControllerAura); | 141 DISALLOW_COPY_AND_ASSIGN(ShellDesktopControllerAura); |
142 }; | 142 }; |
143 | 143 |
144 } // namespace extensions | 144 } // namespace extensions |
145 | 145 |
146 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_AURA_H_ | 146 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_AURA_H_ |
OLD | NEW |