diff options
author | tapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-05 06:13:46 +0000 |
---|---|---|
committer | tapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-05 06:13:46 +0000 |
commit | 281b5dae4cb17979d4e0045280c82a0c2a39ceda (patch) | |
tree | 6cf2d1ff0567caa72f2d946eea799df4f3d35c06 /chrome/app/generated_resources.grd | |
parent | 5445a1e82312f687d45681dce5b38c3dec72983c (diff) | |
download | chromium_src-281b5dae4cb17979d4e0045280c82a0c2a39ceda.zip chromium_src-281b5dae4cb17979d4e0045280c82a0c2a39ceda.tar.gz chromium_src-281b5dae4cb17979d4e0045280c82a0c2a39ceda.tar.bz2 |
Show infobar in a metro chrome when trying to show the App Launcher.
Currently, the app launcher (and v2 Chrome Apps) can only
run in Desktop mode. If Chrome is configured for Metro mode
and the user, from Windows 8 in desktop mode, clicks the App
Launcher shortcut, Chrome needs to switch to Desktop mode in
order for it to work.
This change prompts the user in Metro mode via an infobar on
about:blank, allowing them to cleanup other tabs before
relaunching in Desktop mode. A local_pref setting allows the
relaunch to automatically show the App Launcher once Chrome
has relaunched on the desktop.
BUG=165383
TEST=Run Chrome in Metro mode and switch Windows to desktop
mode. Click the App Launcher icon. Infobar should be
shown offering to relaunch Chrome on the Desktop. This
should work if Chrome is configured for Metro mode,
whether or not it is currently running.
Review URL: https://chromiumcodereview.appspot.com/12385013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186113 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/generated_resources.grd')
-rw-r--r-- | chrome/app/generated_resources.grd | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd index 4e9f6e4..17cf80b 100644 --- a/chrome/app/generated_resources.grd +++ b/chrome/app/generated_resources.grd @@ -15130,6 +15130,14 @@ Some features may be unavailable. Please check that the profile exists and you desc="Text for the menu item to restart chrome in metro. Aplies to Windows 8 only"> Relaunch Chrome in Windows 8 mode </message> + <message name="IDS_WIN8_INFOBAR_DESKTOP_RESTART_TO_LAUNCH_APPS_YES_BUTTON" + desc="Infobar button 'yes' text to confirm that the user does wish to switch to desktop mode to use Chrome Apps"> + Yes, go ahead + </message> + <message name="IDS_WIN8_INFOBAR_DESKTOP_RESTART_TO_LAUNCH_APPS_NO_BUTTON" + desc="Infobar button 'no' text to cancel prompt to relaunch in deskop mode to use Chrome Apps"> + No, stay in Windows 8 mode + </message> <!-- Media Galleries. --> <message name="IDS_MEDIA_GALLERIES_DIALOG_HEADER" desc="Header for media gallery permissions dialog."> |