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

Unified Diff: chrome/browser/chromeos/status/status_area_bubble.cc

Issue 8833004: Remove BubbleDelegateView ctor color arg, add simple setter/getter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pass set_color SkColor arg by value. Created 9 years 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 | « chrome/browser/chromeos/setting_level_bubble.cc ('k') | chrome/browser/speech/speech_input_bubble_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/status/status_area_bubble.cc
diff --git a/chrome/browser/chromeos/status/status_area_bubble.cc b/chrome/browser/chromeos/status/status_area_bubble.cc
index 1893bddea5b5d4d6caf3bbf659a3504a000c15d4..aa67142b477e3224c0d4d1809b257ded966b0f96 100644
--- a/chrome/browser/chromeos/status/status_area_bubble.cc
+++ b/chrome/browser/chromeos/status/status_area_bubble.cc
@@ -11,9 +11,6 @@
namespace {
-// TODO(msw): Get color from theme/window color.
-const SkColor kColor = SK_ColorWHITE;
-
const size_t kCloseBubbleTimerInSec = 5;
} // namespace
@@ -24,7 +21,7 @@ StatusAreaBubbleContentView::StatusAreaBubbleContentView(
views::View* anchor_view,
views::View* icon_view,
const string16& message)
- : BubbleDelegateView(anchor_view, views::BubbleBorder::TOP_RIGHT, kColor),
+ : BubbleDelegateView(anchor_view, views::BubbleBorder::TOP_RIGHT),
icon_view_(icon_view),
message_view_(new views::Label(message)) {
// Padding around status.
« no previous file with comments | « chrome/browser/chromeos/setting_level_bubble.cc ('k') | chrome/browser/speech/speech_input_bubble_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698