Index: chrome/browser/ui/views/toolbar_view.h |
diff --git a/chrome/browser/ui/views/toolbar_view.h b/chrome/browser/ui/views/toolbar_view.h |
index 6af7c97e0598edd3cc0269ba7fcfa309cf344c02..9ca7ed48e0d1ff9244663cdde96b454a3bf03fbd 100644 |
--- a/chrome/browser/ui/views/toolbar_view.h |
+++ b/chrome/browser/ui/views/toolbar_view.h |
@@ -46,6 +46,8 @@ class ToolbarView : public views::AccessiblePaneView, |
// The view class name. |
static const char kViewClassName[]; |
+ // This takes a pointer to the page contents view this is used to position |
+ // the omnibox popup. |
Peter Kasting
2013/06/06 18:52:16
This sentence is a run on sentence this is.
Also
|
explicit ToolbarView(Browser* browser); |
virtual ~ToolbarView(); |
@@ -95,6 +97,11 @@ class ToolbarView : public views::AccessiblePaneView, |
// Overridden from LocationBarView::Delegate: |
virtual content::WebContents* GetWebContents() const OVERRIDE; |
virtual InstantController* GetInstant() OVERRIDE; |
+ virtual void GetOmniboxPopupPositioningInfo( |
+ gfx::Point* top_left_screen_coord, |
+ int* popup_width, |
+ int* left_margin, |
+ int* right_margin) OVERRIDE; |
virtual views::Widget* CreateViewsBubble( |
views::BubbleDelegateView* bubble_delegate) OVERRIDE; |
virtual PageActionImageView* CreatePageActionImageView( |