OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_ASH_ASH_INIT_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_ASH_INIT_H_ |
6 #define CHROME_BROWSER_UI_ASH_ASH_INIT_H_ | 6 #define CHROME_BROWSER_UI_ASH_ASH_INIT_H_ |
7 | 7 |
| 8 #include "ui/gfx/native_widget_types.h" |
| 9 |
8 namespace chrome { | 10 namespace chrome { |
9 | 11 |
10 // Returns true if Ash should be run at startup. | 12 // Returns true if Ash should be run at startup. |
11 bool ShouldOpenAshOnStartup(); | 13 bool ShouldOpenAshOnStartup(); |
12 | 14 |
13 // Creates the Ash Shell and opens the Ash window. | 15 // Creates the Ash Shell and opens the Ash window. |remote_window| is only used |
14 void OpenAsh(); | 16 // on windows. It provides the HWND to the remote window. |
| 17 void OpenAsh(gfx::AcceleratedWidget remote_window); |
15 | 18 |
16 // Closes the Ash window and destroys the Ash Shell. | 19 // Closes the Ash window and destroys the Ash Shell. |
17 void CloseAsh(); | 20 void CloseAsh(); |
18 | 21 |
19 } // namespace chrome | 22 } // namespace chrome |
20 | 23 |
21 #endif // CHROME_BROWSER_UI_ASH_ASH_INIT_H_ | 24 #endif // CHROME_BROWSER_UI_ASH_ASH_INIT_H_ |
OLD | NEW |