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

Unified Diff: base/win/metro.h

Issue 10470002: Add ShellIntegration::ActivateMetroChrome, which launches Chrome in metro-mode on Windows 8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: metro_exports -> metro Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/win/metro.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/metro.h
diff --git a/base/win/metro.h b/base/win/metro.h
index 15fbb46a68ece3def204c0927169996a3c5df8b0..be13a30849970fdfcf41bd396a86b066baec19bc 100644
--- a/base/win/metro.h
+++ b/base/win/metro.h
@@ -41,6 +41,12 @@ 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();
« no previous file with comments | « no previous file | base/win/metro.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698