Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Side by Side Diff: chrome/browser/ui/ash/ash_init.h

Issue 348513002: On Windows ASH ensure that we get the display created for the root window serving ASH. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/ash/ash_init.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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" 8 #include "ui/gfx/native_widget_types.h"
9 9
10 namespace chrome { 10 namespace chrome {
11 11
12 // Returns true if Ash should be run at startup. 12 // Returns true if Ash should be run at startup.
13 bool ShouldOpenAshOnStartup(); 13 bool ShouldOpenAshOnStartup();
14 14
15 // Creates the Ash Shell and opens the Ash window. |remote_window| is only used 15 // Creates the Ash Shell and opens the Ash window. |remote_window| is only used
16 // on windows. It provides the HWND to the remote window. 16 // on windows. It provides the HWND to the remote window.
17 void OpenAsh(gfx::AcceleratedWidget remote_window); 17 void OpenAsh(gfx::AcceleratedWidget remote_window);
18 18
19 // Closes the Ash window and destroys the Ash Shell. 19 // Closes the Ash window and destroys the Ash Shell.
20 void CloseAsh(); 20 void CloseAsh();
21 21
22 #if defined(OS_WIN)
23 // Returns true if the browser process on Windows is launched to serve ASH.
24 bool IsAshProcess();
sky 2014/06/19 15:36:00 This name is confusing and implies we have a separ
ananta 2014/06/19 19:30:25 IsViewerProcess does not seem right. Viewer is the
25 #endif
26
22 } // namespace chrome 27 } // namespace chrome
23 28
24 #endif // CHROME_BROWSER_UI_ASH_ASH_INIT_H_ 29 #endif // CHROME_BROWSER_UI_ASH_ASH_INIT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/ash/ash_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698