Index: chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.mm |
diff --git a/chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.mm b/chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.mm |
index 2f14f624d75565c9a9b5247f60a461ca5608afea..0071c14c31b0847a4d383dfe4f6e5460c2d98c49 100644 |
--- a/chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.mm |
+++ b/chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.mm |
@@ -32,6 +32,7 @@ const CGFloat kHorizontalMargin = 10; |
const CGFloat kPadding = 5; |
const CGFloat kPaddingLeft = 10; |
const CGFloat kWindowCornerRadius = 2; |
+const CGFloat kWindowAlphaValue = 0.85; |
@interface ScreenCaptureNotificationController() |
- (void)hide; |
@@ -80,6 +81,7 @@ scoped_ptr<ScreenCaptureNotificationUI> ScreenCaptureNotificationUI::Create( |
backing:NSBackingStoreBuffered |
defer:NO]); |
[window setReleasedWhenClosed:NO]; |
+ [window setAlphaValue:kWindowAlphaValue]; |
[window setBackgroundColor:[NSColor clearColor]]; |
[window setOpaque:NO]; |
[window setHasShadow:YES]; |