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

Unified Diff: chrome/browser/ui/views/message_center/message_center_frame_view.cc

Issue 29263007: linux and chromeos: Turn on -Wunused-const-variable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 7 years, 2 months 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/views/message_center/message_center_frame_view.cc
diff --git a/chrome/browser/ui/views/message_center/message_center_frame_view.cc b/chrome/browser/ui/views/message_center/message_center_frame_view.cc
index 0efd86346296b23195d3c38ae2083adc30a29908..095a3b85def67718bc02f9422713b38a474a7542 100644
--- a/chrome/browser/ui/views/message_center/message_center_frame_view.cc
+++ b/chrome/browser/ui/views/message_center/message_center_frame_view.cc
@@ -9,20 +9,15 @@
#include "ui/views/shadow_border.h"
#include "ui/views/widget/widget.h"
-namespace {
-
-const int kBorderWidth = 1;
-const int kShadowBlur = 8;
-
-} // namepspace
-
namespace message_center {
MessageCenterFrameView::MessageCenterFrameView() {
#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+ const int kBorderWidth = 1;
set_border(views::Border::CreateSolidBorder(
kBorderWidth, message_center::kMessageCenterBorderColor));
#else
+ const int kShadowBlur = 8;
set_border(new views::ShadowBorder(kShadowBlur,
message_center::kMessageCenterShadowColor,
0, // Vertical offset

Powered by Google App Engine
This is Rietveld 408576698