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

Unified Diff: chrome/browser/ui/views/toolbar_view.h

Issue 15745031: Restyle omnibox popup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Go back to 3 max search suggestions for now Created 7 years, 6 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/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(

Powered by Google App Engine
This is Rietveld 408576698