| 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)();
|
|
|
|
|