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

Side by Side Diff: chrome/browser/metro_utils/metro_chrome_win.h

Issue 909183002: win/aura: Remove some more non-aura code for Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 10 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_METRO_UTILS_METRO_CHROME_WIN_H_ 5 #ifndef CHROME_BROWSER_METRO_UTILS_METRO_CHROME_WIN_H_
6 #define CHROME_BROWSER_METRO_UTILS_METRO_CHROME_WIN_H_ 6 #define CHROME_BROWSER_METRO_UTILS_METRO_CHROME_WIN_H_
7 7
8 #include "chrome/browser/ui/host_desktop.h" 8 #include "chrome/browser/ui/host_desktop.h"
9 9
10 namespace chrome { 10 namespace chrome {
11 11
12 // Using IApplicationActivationManager::ActivateApplication, activate the 12 // Using IApplicationActivationManager::ActivateApplication, activate the
13 // Chrome window running in Metro mode. Returns true if the activation was 13 // Chrome window running in Metro mode. Returns true if the activation was
14 // successful. Note that this can not be called nested in another COM 14 // successful. Note that this can not be called nested in another COM
15 // SendMessage (results in error RPC_E_CANTCALLOUT_ININPUTSYNCCALL), so use 15 // SendMessage (results in error RPC_E_CANTCALLOUT_ININPUTSYNCCALL), so use
16 // PostTask to handle that case. 16 // PostTask to handle that case.
17 bool ActivateMetroChrome(); 17 bool ActivateMetroChrome();
18 18
19 enum Win8Environment { 19 enum Win8Environment {
20 WIN_8_ENVIRONMENT_METRO,
21 WIN_8_ENVIRONMENT_DESKTOP,
22 WIN_8_ENVIRONMENT_METRO_AURA, 20 WIN_8_ENVIRONMENT_METRO_AURA,
23 WIN_8_ENVIRONMENT_DESKTOP_AURA, 21 WIN_8_ENVIRONMENT_DESKTOP_AURA,
24 WIN_8_ENVIRONMENT_MAX 22 WIN_8_ENVIRONMENT_MAX
25 }; 23 };
26 24
27 Win8Environment GetWin8Environment(HostDesktopType desktop); 25 Win8Environment GetWin8Environment(HostDesktopType desktop);
28 26
29 } // namespace chrome 27 } // namespace chrome
30 28
31 #endif // CHROME_BROWSER_METRO_UTILS_METRO_CHROME_WIN_H_ 29 #endif // CHROME_BROWSER_METRO_UTILS_METRO_CHROME_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/lifetime/application_lifetime_win.cc ('k') | chrome/browser/metro_utils/metro_chrome_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698