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

Unified Diff: chrome/browser/bubble_positioner.h

Issue 194110: Convert the AutocompletePopupPositioner into a BubblePositioner in preparatio... (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
Index: chrome/browser/bubble_positioner.h
===================================================================
--- chrome/browser/bubble_positioner.h (revision 0)
+++ chrome/browser/bubble_positioner.h (revision 0)
@@ -0,0 +1,22 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_BUBBLE_POSITIONER_H_
+#define CHROME_BROWSER_BUBBLE_POSITIONER_H_
+
+namespace gfx {
+class Rect;
+}
+
+// An object in the browser UI can implement this interface to provide display
+// bounds for the omnibox bubble.
+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.
+ virtual gfx::Rect GetLocationStackBounds() const = 0;
Ben Goodger (Google) 2009/09/15 21:09:06 I assume these comments and function name will cha
Peter Kasting 2009/09/15 22:26:06 The comments will change, but not the function nam
+};
+
+#endif // CHROME_BROWSER_BUBBLE_POSITIONER_H_
Property changes on: chrome\browser\bubble_positioner.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_popup_view_mac.mm ('k') | chrome/browser/chromeos/compact_navigation_bar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698