Index: chrome/browser/ui/views/screen_capture_notification_ui_views.cc |
diff --git a/chrome/browser/ui/views/screen_capture_notification_ui_views.cc b/chrome/browser/ui/views/screen_capture_notification_ui_views.cc |
index 94819e3a4402d30ed542b0fac69216c62b0d540d..14c4ed073d436fd01b5bdd49aeac333f1306b357 100644 |
--- a/chrome/browser/ui/views/screen_capture_notification_ui_views.cc |
+++ b/chrome/browser/ui/views/screen_capture_notification_ui_views.cc |
@@ -29,8 +29,9 @@ namespace { |
const int kMinimumWidth = 460; |
const int kMaximumWidth = 1000; |
const int kHorizontalMargin = 10; |
-const int kPadding = 5; |
-const int kPaddingLeft = 10; |
+const int kPaddingVertical = 5; |
+const int kPaddingVerticalHorizonal = 10; |
Sergey Ulanov
2014/03/21 18:54:10
kPaddingHorizontal?
jiayl
2014/03/21 18:58:08
Oops. Done.
|
+const SkColor kHideLinkColor = SkColorSetRGB(0x55, 0x95, 0xFE); |
namespace { |
@@ -150,6 +151,8 @@ ScreenCaptureNotificationUIViews::ScreenCaptureNotificationUIViews( |
hide_link_ = new views::Link( |
l10n_util::GetStringUTF16(IDS_PASSWORDS_PAGE_VIEW_HIDE_BUTTON)); |
hide_link_->set_listener(this); |
+ hide_link_->SetUnderline(false); |
+ hide_link_->SetEnabledColor(kHideLinkColor); |
AddChildView(hide_link_); |
} |
@@ -268,7 +271,10 @@ views::NonClientFrameView* |
ScreenCaptureNotificationUIViews::CreateNonClientFrameView( |
views::Widget* widget) { |
views::BubbleFrameView* frame = new views::BubbleFrameView( |
- gfx::Insets(kPadding, kPaddingLeft, kPadding, kPadding)); |
+ gfx::Insets(kPaddingVertical, |
+ kPaddingVerticalHorizonal, |
+ kPaddingVertical, |
+ kPaddingVerticalHorizonal)); |
SkColor color = widget->GetNativeTheme()->GetSystemColor( |
ui::NativeTheme::kColorId_DialogBackground); |
frame->SetBubbleBorder(scoped_ptr<views::BubbleBorder>( |