Make Ctrl + T from apps focus the new tab's omnibox on Linux and ChromeOS.
[chromium-blink-merge.git] / win8 / test / metro_registration_helper.h
blob58409dbb4ccffb80b78d33f285bb02cf6c90be65
1 // Copyright (c) 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.
5 #ifndef WIN8_TEST_METRO_REGISTRATION_HELPER_H_
6 #define WIN8_TEST_METRO_REGISTRATION_HELPER_H_
8 #include "base/strings/string16.h"
10 namespace win8 {
12 // Synchronously makes chrome.exe THE default Win8 browser after which it is
13 // activatable into a Metro viewer process using
14 // win8::test::kDefaultTestAppUserModelId. Intended to be used by a test binary
15 // in the output directory and assumes the presence of test_registrar.exe,
16 // chrome.exe (the viewer process), and all needed DLLs in the same directory
17 // as the calling module.
18 // NOTE: COM must be initialized prior to calling this method.
19 bool MakeTestDefaultBrowserSynchronously();
21 } // namespace win8
23 #endif // WIN8_TEST_METRO_REGISTRATION_HELPER_H_