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

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

Issue 10808066: Fix position of web notification bubble and arrow (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: . Created 8 years, 5 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/bubble/bubble_border.h
diff --git a/ui/views/bubble/bubble_border.h b/ui/views/bubble/bubble_border.h
index cc15f2bea4775a487ee8172b2a246a70e859e3aa..f39d9bd60fd6236c3ea612562a6d83bea88d62d5 100644
--- a/ui/views/bubble/bubble_border.h
+++ b/ui/views/bubble/bubble_border.h
@@ -123,6 +123,12 @@ class VIEWS_EXPORT BubbleBorder : public Border {
protected:
virtual ~BubbleBorder();
+ // Specifies the arrow location for calculating insets. Normally called from
msw 2012/07/27 20:32:04 nit: wording, consider "Calculate the insets for a
stevenjb 2012/07/30 20:09:03 Done.
+ // GetInsets(arrow_location()), but may be called by specialized BubbleBorder
+ // implementations.
+ void GetInsetsForArrowLocation(gfx::Insets* insets,
+ ArrowLocation arrow_loc) const;
+
private:
struct BorderImages;

Powered by Google App Engine
This is Rietveld 408576698