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

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: Rebase 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
« no previous file with comments | « ash/system/web_notification/web_notification_tray.cc ('k') | 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 cc15f2bea4775a487ee8172b2a246a70e859e3aa..072a8066022d66b3af4928b3a0b4d5950af2179e 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();
+ // Calculates the insets for a specific arrow location. Normally called from
+ // GetInsets(arrow_location()), but may be called by specialized BubbleBorder
+ // implementations.
+ void GetInsetsForArrowLocation(gfx::Insets* insets,
+ ArrowLocation arrow_loc) const;
+
private:
struct BorderImages;
« no previous file with comments | « ash/system/web_notification/web_notification_tray.cc ('k') | ui/views/bubble/bubble_border.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698