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

Unified Diff: ui/views/window/dialog_frame_view.cc

Issue 12096084: Cleanup BubbleFrameView and BubbleBorder construction. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Additional refactoring and cleanup. Created 7 years, 11 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: ui/views/window/dialog_frame_view.cc
diff --git a/ui/views/window/dialog_frame_view.cc b/ui/views/window/dialog_frame_view.cc
index 00435471b9d9bf7535fe5499a8cb36e941758a1d..3949948ba9ebd85b453aadd5332a2a02d1392614 100644
--- a/ui/views/window/dialog_frame_view.cc
+++ b/ui/views/window/dialog_frame_view.cc
@@ -37,9 +37,9 @@ DialogFrameView::DialogFrameView(const string16& title)
: title_(NULL),
close_(NULL) {
BubbleBorder* border =
- new BubbleBorder(BubbleBorder::FLOAT, BubbleBorder::SMALL_SHADOW);
- border->set_background_color(GetNativeTheme()->GetSystemColor(
- ui::NativeTheme::kColorId_DialogBackground));
+ new BubbleBorder(BubbleBorder::FLOAT, BubbleBorder::SMALL_SHADOW,
+ GetNativeTheme()->GetSystemColor(
+ ui::NativeTheme::kColorId_DialogBackground));
set_border(border);
// Update the background, which relies on the border.
set_background(new BubbleBackground(border));
« ui/views/bubble/bubble_border.h ('K') | « ui/views/controls/menu/menu_scroll_view_container.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698