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

Unified Diff: chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.mm

Issue 8425007: Make the shadow for the fullscreen exit bubble for mac more prominent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebasre 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
Index: chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.mm
diff --git a/chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.mm b/chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.mm
index fade662d9be98b7286eb31f3b1e41e0c298f9937..2a0c98e181138081cbf0715f11e491e1e7cf3dd5 100644
--- a/chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.mm
@@ -27,7 +27,6 @@
namespace {
-const int kBubbleOffsetY = 10;
const float kInitialDelay = 3.8;
const float kHideDuration = 0.7;
} // namespace
@@ -110,7 +109,6 @@ const float kHideDuration = 0.7;
- (void)showWindow {
// Completes nib load.
InfoBubbleWindow* info_bubble = static_cast<InfoBubbleWindow*>([self window]);
- [bubble_ setArrowLocation:info_bubble::kNoArrow];
[info_bubble setCanBecomeKeyWindow:NO];
if (!fullscreen_bubble::ShowButtonsForType(bubbleType_)) {
[self showButtons:NO];
@@ -137,7 +135,6 @@ const float kHideDuration = 0.7;
NSPoint origin;
origin.x = (int)(maxWidth/2 - NSWidth(windowFrame)/2);
origin.y = maxY - NSHeight(windowFrame);
- origin.y -= kBubbleOffsetY;
[[self window] setFrameOrigin:origin];
}
« no previous file with comments | « chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.h ('k') | chrome/browser/ui/cocoa/fullscreen_exit_bubble_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698