Chromium Code Reviews| Index: ui/views/bubble/bubble_delegate.cc |
| diff --git a/ui/views/bubble/bubble_delegate.cc b/ui/views/bubble/bubble_delegate.cc |
| index 72f20b87af519a9cfe43fba2c3a0dd8fb8eaffc7..1abae30df3510bbe0c5fcf21e76d835f0ef89f67 100644 |
| --- a/ui/views/bubble/bubble_delegate.cc |
| +++ b/ui/views/bubble/bubble_delegate.cc |
| @@ -5,6 +5,7 @@ |
| #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" |
| @@ -71,8 +72,13 @@ Widget* CreateBorderWidget(BubbleDelegateView* bubble, Widget* parent) { |
| } // namespace |
| -// TODO(msw): Use NativeTheme/color_helper (crbug.com/105023). |
| -const SkColor BubbleDelegateView::kBackgroundColor = SK_ColorWHITE; |
| +#if defined(OS_WIN) && !defined(USE_AURA) |
|
msw
2011/12/08 05:46:30
The impl seems to run on Aura, any reason you're b
sail
2011/12/08 05:52:07
This was copy paste from the original implementati
|
| +const SkColor BubbleDelegateView::kBackgroundColor = |
| + color_utils::GetSysSkColor(COLOR_WINDOW); |
| +#else |
| +// TODO(beng): source from theme provider. |
| +const SkColor Bubble::kBackgroundColor = SK_ColorWHITE; |
| +#endif |
| BubbleDelegateView::BubbleDelegateView() |
| : close_on_esc_(true), |