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

Unified Diff: ui/views/bubble/tray_bubble_view.h

Issue 12310022: More flexibility in BubbleBorder arrow rendering. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address msw style nits. Created 7 years, 10 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
« no previous file with comments | « ui/views/bubble/bubble_border.cc ('k') | ui/views/bubble/tray_bubble_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/bubble/tray_bubble_view.h
diff --git a/ui/views/bubble/tray_bubble_view.h b/ui/views/bubble/tray_bubble_view.h
index 353473a52336d4f346f14bf8fa2adebd661f864d..2cb12d1c5202db3ade8112601f480d783939e9b6 100644
--- a/ui/views/bubble/tray_bubble_view.h
+++ b/ui/views/bubble/tray_bubble_view.h
@@ -100,7 +100,7 @@ class VIEWS_EXPORT TrayBubbleView : public views::BubbleDelegateView {
SkColor arrow_color;
views::BubbleBorder::ArrowLocation arrow_location;
int arrow_offset;
- bool hide_arrow; // hides arrow, but may still use "arrow geometry"
+ views::BubbleBorder::ArrowPaintType arrow_paint_type;
views::BubbleBorder::Shadow shadow;
views::BubbleBorder::BubbleAlignment arrow_alignment;
};
@@ -127,7 +127,7 @@ class VIEWS_EXPORT TrayBubbleView : public views::BubbleDelegateView {
void SetWidth(int width);
// Sets whether or not to paint the bubble border arrow.
- void SetPaintArrow(bool paint_arrow);
+ void SetArrowPaintType(views::BubbleBorder::ArrowPaintType arrow_paint_type);
// Returns the border insets. Called by TrayEventFilter.
gfx::Insets GetBorderInsets() const;
« no previous file with comments | « ui/views/bubble/bubble_border.cc ('k') | ui/views/bubble/tray_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698