From 84ecdf7d93b33da9cf1481aa32b100a420a5ac18 Mon Sep 17 00:00:00 2001 From: "andybons@chromium.org" Date: Wed, 29 Sep 2010 21:59:56 +0000 Subject: 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 Review URL: http://codereview.chromium.org/3453029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60997 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/resources/shared/css/menu.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'chrome/browser/resources/shared/css') diff --git a/chrome/browser/resources/shared/css/menu.css b/chrome/browser/resources/shared/css/menu.css index a891a42..19f5248 100644 --- a/chrome/browser/resources/shared/css/menu.css +++ b/chrome/browser/resources/shared/css/menu.css @@ -57,3 +57,20 @@ menu > :not(hr)[selected]:active { background-color: #426dc9; color: #fff; } + +menu > [checked]:before { + content: url("../images/checkbox_black.png"); + width: 9px; + height: 9px; + display: inline-block; + vertical-align: 50%; + margin: 0 5px; +} + +menu > [checked] { + -webkit-padding-start: 0; +} + +menu > [selected][checked]:active:before { + content: url("../images/checkbox_white.png"); +} \ No newline at end of file -- cgit v1.1