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

Unified Diff: ui/views/bubble/bubble_delegate.cc

Issue 8872029: Revert 113634 - Add support for high contrast mode to bubbles (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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/ui/views/avatar_menu_bubble_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/bubble/bubble_delegate.cc
===================================================================
--- ui/views/bubble/bubble_delegate.cc (revision 113636)
+++ ui/views/bubble/bubble_delegate.cc (working copy)
@@ -5,7 +5,6 @@
#include "ui/views/bubble/bubble_delegate.h"
#include "ui/base/animation/slide_animation.h"
-#include "ui/gfx/color_utils.h"
#include "ui/views/bubble/bubble_frame_view.h"
#include "ui/views/widget/widget.h"
@@ -72,13 +71,8 @@
} // namespace
-#if defined(OS_WIN) && !defined(USE_AURA)
-const SkColor BubbleDelegateView::kBackgroundColor =
- color_utils::GetSysSkColor(COLOR_WINDOW);
-#else
-// TODO(beng): source from theme provider.
-const SkColor Bubble::kBackgroundColor = SK_ColorWHITE;
-#endif
+// TODO(msw): Use NativeTheme/color_helper (crbug.com/105023).
+const SkColor BubbleDelegateView::kBackgroundColor = SK_ColorWHITE;
BubbleDelegateView::BubbleDelegateView()
: close_on_esc_(true),
« no previous file with comments | « chrome/browser/ui/views/avatar_menu_bubble_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698