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

Unified Diff: ash/wm/maximize_bubble_controller.cc

Issue 10905311: Consolidate bubble border code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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: ash/wm/maximize_bubble_controller.cc
diff --git a/ash/wm/maximize_bubble_controller.cc b/ash/wm/maximize_bubble_controller.cc
index 49e9a8c5bc4641822d7ba670210700e3b52716b3..78fdc8eda61af941142ea08a236948355b82bec6 100644
--- a/ash/wm/maximize_bubble_controller.cc
+++ b/ash/wm/maximize_bubble_controller.cc
@@ -86,7 +86,7 @@ MaximizeBubbleBorder::MaximizeBubbleBorder(views::View* content_view,
: views::BubbleBorder(views::BubbleBorder::TOP_RIGHT,
views::BubbleBorder::NO_SHADOW),
anchor_size_(anchor->size()),
- anchor_screen_origin_(0,0),
+ anchor_screen_origin_(0, 0),
content_view_(content_view) {
views::View::ConvertPointToScreen(anchor, &anchor_screen_origin_);
set_alignment(views::BubbleBorder::ALIGN_EDGE_TO_ANCHOR_EDGE);
@@ -399,7 +399,7 @@ MaximizeBubbleController::Bubble::Bubble(
set_parent_window(parent);
set_notify_enter_exit_on_child(true);
- set_try_mirroring_arrow(false);
+ set_try_fit_bubble(false);
SetPaintToLayer(true);
SetFillsBoundsOpaquely(false);
set_color(kBubbleBackgroundColor);

Powered by Google App Engine
This is Rietveld 408576698