diff options
author | koz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-22 02:26:25 +0000 |
---|---|---|
committer | koz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-22 02:26:25 +0000 |
commit | b21d5508f10832d24799eb01f0653fa44743d1dc (patch) | |
tree | 935cbd75f312a9e89935e339a17a449ee8b7b0cd /chrome/browser/ui/fullscreen_exit_bubble.cc | |
parent | 1a95a17549252fde69596db10751e9d40983cff8 (diff) | |
download | chromium_src-b21d5508f10832d24799eb01f0653fa44743d1dc.zip chromium_src-b21d5508f10832d24799eb01f0653fa44743d1dc.tar.gz chromium_src-b21d5508f10832d24799eb01f0653fa44743d1dc.tar.bz2 |
Add padding to the fullscreen exit bubble on linux.
Review URL: http://codereview.chromium.org/8549014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111081 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/fullscreen_exit_bubble.cc')
-rw-r--r-- | chrome/browser/ui/fullscreen_exit_bubble.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/ui/fullscreen_exit_bubble.cc b/chrome/browser/ui/fullscreen_exit_bubble.cc index 1a6345a..5678f084 100644 --- a/chrome/browser/ui/fullscreen_exit_bubble.cc +++ b/chrome/browser/ui/fullscreen_exit_bubble.cc @@ -12,7 +12,13 @@ #include "ui/base/l10n/l10n_util.h" #include "ui/gfx/rect.h" +// NOTE(koz): Linux doesn't use the thick shadowed border, so we add padding +// here. +#ifdef LINUX +const int FullscreenExitBubble::kPaddingPx = 8; +#else const int FullscreenExitBubble::kPaddingPx = 0; +#endif const int FullscreenExitBubble::kInitialDelayMs = 3800; const int FullscreenExitBubble::kIdleTimeMs = 2300; const int FullscreenExitBubble::kPositionCheckHz = 10; |