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

Unified Diff: base/win/metro.h

Issue 10854017: Basic metro snap view omnibox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix chromeos compilation. Created 8 years, 4 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 | chrome/browser/ui/omnibox/omnibox_view.h » ('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 6540c59bd6a6059cf2cfda521da4c17332fbac09..9095edc43cc893773d1b58f936f7be5f2dcce943 100644
--- a/base/win/metro.h
+++ b/base/win/metro.h
@@ -41,9 +41,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[];
@@ -67,6 +64,12 @@ BASE_EXPORT bool IsTouchEnabled();
// This function should ideally be called on the UI thread.
BASE_EXPORT bool IsParentalControlActivityLoggingOn();
+// Typedef for function to activate metro application.
+typedef HRESULT (*ActivateApplicationFn)(const wchar_t*);
+
+// Typedef for function to break out of metro snap mode.
+typedef void (*MetroUnsnapFn)();
+
// Handler function for the buttons on a metro dialog box
typedef void (*MetroDialogButtonPressedHandler)();
@@ -77,8 +80,6 @@ typedef void (*MetroNotification)(const char* origin_url,
const wchar_t* body,
const wchar_t* display_source,
const char* notification_id);
-
-
} // namespace win
} // namespace base
« no previous file with comments | « no previous file | chrome/browser/ui/omnibox/omnibox_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698