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

Unified Diff: chrome/browser/bubble_positioner.h

Issue 195099: Convert InfoBubble to using BubbleBorder. This also replaces the border grap... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/views/bubble_border.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bubble_positioner.h
===================================================================
--- chrome/browser/bubble_positioner.h (revision 26373)
+++ chrome/browser/bubble_positioner.h (working copy)
@@ -10,12 +10,14 @@
}
// An object in the browser UI can implement this interface to provide display
-// bounds for the omnibox bubble.
+// bounds for the omnibox bubble and info bubble views.
class BubblePositioner {
public:
// Returns the bounds of the "location bar" stack (including star/go buttons
// where relevant). The omnibox dropdown uses this to calculate its width and
- // y-coordinate.
+ // y-coordinate, and views showing InfoBubbles use it to find the y-coordinate
+ // they should show at, so that all "bubble" UIs show up at the same vertical
+ // position.
virtual gfx::Rect GetLocationStackBounds() const = 0;
};
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/views/bubble_border.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698