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

Unified Diff: base/win/metro_exports.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: include windows.h for HRESULT 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 | « base/base.gypi ('k') | base/win/metro_exports.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/metro_exports.h
diff --git a/base/win/metro_exports.h b/base/win/metro_exports.h
new file mode 100644
index 0000000000000000000000000000000000000000..e29abf426dba6ce027ee4dcbe09b102cf239cf0a
--- /dev/null
+++ b/base/win/metro_exports.h
@@ -0,0 +1,26 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This file declares the types and names of functions exported from
+// metro_driver.dll.
+
+#ifndef BASE_WIN_METRO_EXPORTS_H_
+#define BASE_WIN_METRO_EXPORTS_H_
+#pragma once
+
+#include "base/base_export.h"
+
+#include <windows.h>
+
+namespace metro_exports {
brettw 2012/05/31 19:32:08 This should be in the base::win namespace. I'd rem
grt (UTC plus 2) 2012/06/01 02:45:44 Done.
+
+// The types of exports in metro_driver.dll.
+typedef HRESULT (*ActivateApplicationFn)(const wchar_t*);
+
+// The names of exports in metro_driver.dll.
+BASE_EXPORT extern const char kActivateApplication[];
+
+} // namespace metro_exports
+
+#endif // BASE_WIN_METRO_EXPORTS_H_
« no previous file with comments | « base/base.gypi ('k') | base/win/metro_exports.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698