summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/extension_action.cc
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-22 21:15:06 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-22 21:15:06 +0000
commit6307cdcd4c47a404c48415b5ac2303f2590d00c3 (patch)
treec3fdfeef0c312adbdb17b2a5eeca23b3912492b2 /chrome/common/extensions/extension_action.cc
parent139bd735c970b36a4898077d6010595da0194442 (diff)
downloadchromium_src-6307cdcd4c47a404c48415b5ac2303f2590d00c3.zip
chromium_src-6307cdcd4c47a404c48415b5ac2303f2590d00c3.tar.gz
chromium_src-6307cdcd4c47a404c48415b5ac2303f2590d00c3.tar.bz2
Makes extension badges on Chrome OS draw the same as they do on windows.
CHROMEOS_BUG=1008 TEST=none Review URL: http://codereview.chromium.org/509033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35170 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/extension_action.cc')
-rwxr-xr-xchrome/common/extensions/extension_action.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/extensions/extension_action.cc b/chrome/common/extensions/extension_action.cc
index 285c5aff..d8d214c 100755
--- a/chrome/common/extensions/extension_action.cc
+++ b/chrome/common/extensions/extension_action.cc
@@ -18,7 +18,7 @@
namespace {
// Different platforms need slightly different constants to look good.
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) && !defined(TOOLKIT_VIEWS)
const int kTextSize = 9;
const int kBottomMargin = 0;
const int kPadding = 2;