OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_METRO_CHROME_WIN_H_ | |
6 #define CHROME_BROWSER_UI_METRO_CHROME_WIN_H_ | |
7 | |
8 namespace chrome { | |
9 | |
10 // Using IApplicationActivationManager::ActivateApplication, activate the | |
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 | |
13 // SendMessage (results in error RPC_E_CANTCALLOUT_ININPUTSYNCCALL), so use | |
14 // PostTask to handle that case. | |
15 bool ActivateMetroChrome(); | |
16 | |
17 } // namespace chrome | |
18 | |
19 #endif // CHROME_BROWSER_UI_METRO_CHROME_WIN_H_ | |
OLD | NEW |