diff options
author | andybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-30 02:03:49 +0000 |
---|---|---|
committer | andybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-30 02:03:49 +0000 |
commit | 10abd198e989f003f5f2fcaad735bf3566a5f8ba (patch) | |
tree | c123193e87d254fc8a63526bcce584ea39569f87 /chrome/browser/resources/new_new_tab.html | |
parent | ff7321db2060aa69b63b2090b0e5eb92d2df704e (diff) | |
download | chromium_src-10abd198e989f003f5f2fcaad735bf3566a5f8ba.zip chromium_src-10abd198e989f003f5f2fcaad735bf3566a5f8ba.tar.gz chromium_src-10abd198e989f003f5f2fcaad735bf3566a5f8ba.tar.bz2 |
o Add user customizable launch type for apps by adding options in each apps context menu.
o Updated some comments that were using the outdated NOTIFY_PREF_CHANGED notification.
o Make LAUNCH_PINNED the default type returned by ExtensionPrefs if it does not already exist.
o Some minor refactoring within the code to reduce duplication.
BUG=54731
TEST=NONE
patch from issue 3419010
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60997
Reverted: http://crrev.com/61000
Review URL: http://codereview.chromium.org/3453029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61021 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/new_new_tab.html')
-rw-r--r-- | chrome/browser/resources/new_new_tab.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/browser/resources/new_new_tab.html b/chrome/browser/resources/new_new_tab.html index 23e8e24..7290e32 100644 --- a/chrome/browser/resources/new_new_tab.html +++ b/chrome/browser/resources/new_new_tab.html @@ -176,10 +176,20 @@ if ('mode' in hashParams) { <command id="apps-launch-command"> <command id="apps-options-command" i18n-values=".label:appoptions"> <command id="apps-uninstall-command" i18n-values=".label:appuninstall"> +<command id="apps-launch-type-pinned" i18n-values=".label:applaunchtypepinned" + launch-type="0"> +<command id="apps-launch-type-regular" i18n-values=".label:applaunchtyperegular" + launch-type="1"> +<command id="apps-launch-type-fullscreen" + i18n-values=".label:applaunchtypefullscreen" launch-type="2"> <menu id="app-context-menu"> <button class="default" command="#apps-launch-command"></button> <hr> + <button command="#apps-launch-type-pinned" launch-type="0"></button> + <button command="#apps-launch-type-regular" launch-type="1"></button> + <button command="#apps-launch-type-fullscreen" launch-type="2"></button> + <hr> <button command="#apps-options-command"></button> <button command="#apps-uninstall-command"></button> </menu> |