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 <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 | 73 |
74 // DesktopController: | 74 // DesktopController: |
75 gfx::Size GetWindowSize() override; | 75 gfx::Size GetWindowSize() override; |
76 AppWindow* CreateAppWindow(content::BrowserContext* context, | 76 AppWindow* CreateAppWindow(content::BrowserContext* context, |
77 const Extension* extension) override; | 77 const Extension* extension) override; |
78 void AddAppWindow(gfx::NativeWindow window) override; | 78 void AddAppWindow(gfx::NativeWindow window) override; |
79 void RemoveAppWindow(AppWindow* window) override; | 79 void RemoveAppWindow(AppWindow* window) override; |
80 void CloseAppWindows() override; | 80 void CloseAppWindows() override; |
81 | 81 |
82 // aura::client::WindowParentingClient overrides: | 82 // aura::client::WindowParentingClient overrides: |
83 aura::Window* GetDefaultParent(aura::Window* context, | 83 aura::Window* GetDefaultParent(aura::Window* window, |
84 aura::Window* window, | |
85 const gfx::Rect& bounds) override; | 84 const gfx::Rect& bounds) override; |
86 | 85 |
87 #if defined(OS_CHROMEOS) | 86 #if defined(OS_CHROMEOS) |
88 // chromeos::PowerManagerClient::Observer overrides: | 87 // chromeos::PowerManagerClient::Observer overrides: |
89 void PowerButtonEventReceived(bool down, | 88 void PowerButtonEventReceived(bool down, |
90 const base::TimeTicks& timestamp) override; | 89 const base::TimeTicks& timestamp) override; |
91 | 90 |
92 // display::DisplayConfigurator::Observer overrides. | 91 // display::DisplayConfigurator::Observer overrides. |
93 void OnDisplayModeChanged( | 92 void OnDisplayModeChanged( |
94 const display::DisplayConfigurator::DisplayStateList& displays) override; | 93 const display::DisplayConfigurator::DisplayStateList& displays) override; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 | 145 |
147 // NativeAppWindow::Close() deletes the AppWindow. | 146 // NativeAppWindow::Close() deletes the AppWindow. |
148 std::vector<AppWindow*> app_windows_; | 147 std::vector<AppWindow*> app_windows_; |
149 | 148 |
150 DISALLOW_COPY_AND_ASSIGN(ShellDesktopControllerAura); | 149 DISALLOW_COPY_AND_ASSIGN(ShellDesktopControllerAura); |
151 }; | 150 }; |
152 | 151 |
153 } // namespace extensions | 152 } // namespace extensions |
154 | 153 |
155 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_AURA_H_ | 154 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_AURA_H_ |
OLD | NEW |