OLD | NEW |
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_UI_METRO_CHROME_WIN_H_ | 5 #ifndef CHROME_BROWSER_METRO_UTILS_METRO_CHROME_WIN_H_ |
6 #define CHROME_BROWSER_UI_METRO_CHROME_WIN_H_ | 6 #define CHROME_BROWSER_METRO_UTILS_METRO_CHROME_WIN_H_ |
7 | 7 |
8 namespace chrome { | 8 namespace chrome { |
9 | 9 |
10 // Using IApplicationActivationManager::ActivateApplication, activate the | 10 // Using IApplicationActivationManager::ActivateApplication, activate the |
11 // Chrome window running in Metro mode. Returns true if the activation was | 11 // Chrome window running in Metro mode. Returns true if the activation was |
12 // successful. Note that this can not be called nested in another COM | 12 // successful. Note that this can not be called nested in another COM |
13 // SendMessage (results in error RPC_E_CANTCALLOUT_ININPUTSYNCCALL), so use | 13 // SendMessage (results in error RPC_E_CANTCALLOUT_ININPUTSYNCCALL), so use |
14 // PostTask to handle that case. | 14 // PostTask to handle that case. |
15 bool ActivateMetroChrome(); | 15 bool ActivateMetroChrome(); |
16 | 16 |
17 } // namespace chrome | 17 } // namespace chrome |
18 | 18 |
19 #endif // CHROME_BROWSER_UI_METRO_CHROME_WIN_H_ | 19 #endif // CHROME_BROWSER_METRO_UTILS_METRO_CHROME_WIN_H_ |
OLD | NEW |