Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9198)

Unified Diff: chrome/browser/ui/fullscreen_exit_bubble.cc

Issue 8549014: Add padding to the fullscreen exit bubble on linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/fullscreen_exit_bubble.cc
diff --git a/chrome/browser/ui/fullscreen_exit_bubble.cc b/chrome/browser/ui/fullscreen_exit_bubble.cc
index 1a6345adba365a68151075cd7b5919ecf6441a4a..5678f0840cb960cd570dddfd24e9448f52cdd526 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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698