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

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

Issue 2343913003: Implement Harmony spec for dialog/bubble borders. (Closed)
Patch Set: compile fix Created 4 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
« no previous file with comments | « no previous file | ui/views/bubble/bubble_border.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/bubble/bubble_border.h
diff --git a/ui/views/bubble/bubble_border.h b/ui/views/bubble/bubble_border.h
index c2d874559f2f18c75f2181c99d1fd7ff1a36d218..98af8670ce08762d6b3aea55419f807caaeeeb9d 100644
--- a/ui/views/bubble/bubble_border.h
+++ b/ui/views/bubble/bubble_border.h
@@ -182,7 +182,7 @@ class VIEWS_EXPORT BubbleBorder : public Border {
void set_arrow_offset(int offset) { arrow_offset_ = offset; }
// Sets the way the arrow is actually painted. Default is PAINT_NORMAL.
- void set_paint_arrow(ArrowPaintType value) { arrow_paint_type_ = value; }
+ void set_paint_arrow(ArrowPaintType value);
// Get the desired widget bounds (in screen coordinates) given the anchor rect
// and bubble content size; calculated from shadow and arrow image dimensions.
@@ -229,6 +229,8 @@ class VIEWS_EXPORT BubbleBorder : public Border {
SkPath* path) const;
void DrawArrow(gfx::Canvas* canvas, const gfx::Rect& arrow_bounds) const;
+ void PaintMd(const View& view, gfx::Canvas* canvas);
+
internal::BorderImages* GetImagesForTest() const;
Arrow arrow_;
« no previous file with comments | « no previous file | ui/views/bubble/bubble_border.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698