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

Unified Diff: base/win/metro.h

Issue 10824387: Implement forwarding of search queries for metro mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 | base/win/metro.cc » ('j') | chrome/browser/ui/views/frame/browser_frame_win.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/metro.h
===================================================================
--- base/win/metro.h (revision 151723)
+++ base/win/metro.h (working copy)
@@ -16,12 +16,13 @@
// Identifies the type of the metro launch.
enum MetroLaunchType {
- LAUNCH,
- SEARCH,
- SHARE,
- FILE,
- PROTOCOL,
- LASTLAUNCHTYPE,
+ METRO_LAUNCH,
+ METRO_SEARCH,
+ METRO_SHARE,
+ METRO_FILE,
+ METRO_PROTOCOL,
+ METRO_LAUNCH_ERROR,
+ METRO_LASTLAUNCHTYPE,
};
// In metro mode, this enum identifies the last execution state, i.e. whether
@@ -71,6 +72,10 @@
// This function should ideally be called on the UI thread.
BASE_EXPORT bool IsParentalControlActivityLoggingOn();
+// Returns the type of launch and the activation params. For example if the
+// the launch is for METRO_PROTOCOL then the params is a url.
+MetroLaunchType GetMetroLaunchParams(string16* params);
+
// Handler function for the buttons on a metro dialog box
typedef void (*MetroDialogButtonPressedHandler)();
« no previous file with comments | « no previous file | base/win/metro.cc » ('j') | chrome/browser/ui/views/frame/browser_frame_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698