summaryrefslogtreecommitdiffstats
path: root/base/win
diff options
context:
space:
mode:
authorgrt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-05 23:31:23 +0000
committergrt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-05 23:31:23 +0000
commitd1fa3fbb09712181bb7675ef7e9b892b2911c0a5 (patch)
treefb659390e63f741c7f26d41defb284d8d28955e3 /base/win
parenta77809f6c4c703fbb9c34a47cf24e3b77056a02f (diff)
downloadchromium_src-d1fa3fbb09712181bb7675ef7e9b892b2911c0a5.zip
chromium_src-d1fa3fbb09712181bb7675ef7e9b892b2911c0a5.tar.gz
chromium_src-d1fa3fbb09712181bb7675ef7e9b892b2911c0a5.tar.bz2
No longer switch to metro mode when Chrome is made the default on first run.
BUG=145795 TEST=delete "First Run" beacon and profile dir, make IE the default, launch Chrome, make it the default when asked, and note that you're left in desktop Chrome rather than switched to metro. Review URL: https://chromiumcodereview.appspot.com/10910086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155048 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/win')
-rw-r--r--base/win/metro.cc2
-rw-r--r--base/win/metro.h6
2 files changed, 0 insertions, 8 deletions
diff --git a/base/win/metro.cc b/base/win/metro.cc
index 6cc8a85..9e0e043 100644
--- a/base/win/metro.cc
+++ b/base/win/metro.cc
@@ -12,8 +12,6 @@
namespace base {
namespace win {
-const char kActivateApplication[] = "ActivateApplication";
-
HMODULE GetMetroModule() {
const HMODULE kUninitialized = reinterpret_cast<HMODULE>(1);
static HMODULE metro_module = kUninitialized;
diff --git a/base/win/metro.h b/base/win/metro.h
index a500174..87b603b 100644
--- a/base/win/metro.h
+++ b/base/win/metro.h
@@ -42,12 +42,6 @@ struct CurrentTabInfo {
wchar_t* url;
};
-// The types of exports in metro_driver.dll.
-typedef HRESULT (*ActivateApplicationFn)(const wchar_t*);
-
-// The names of the exports in metro_driver.dll.
-BASE_EXPORT extern const char kActivateApplication[];
-
// Returns the handle to the metro dll loaded in the process. A NULL return
// indicates that the metro dll was not loaded in the process.
BASE_EXPORT HMODULE GetMetroModule();