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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.cc

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/location_bar/location_bar_view.cc
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
index 6018eae75ccdddacb63acd36e8030e60493109a5..fa780836f98125f5e2e797e49e6f215d8a2b80ac 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
@@ -1117,6 +1117,23 @@ WebContents* LocationBarView::GetWebContents() const {
return delegate_->GetWebContents();
}
+void LocationBarView::GetPopupPositioningInfo(
+ gfx::Point* top_left_screen_coord,
+ int* popup_width,
+ int* left_margin,
+ int* right_margin) {
+ return delegate_->GetOmniboxPopupPositioningInfo(
+ top_left_screen_coord, popup_width, left_margin, right_margin);
+}
+
+ui::ThemeProvider* LocationBarView::GetThemeProviderForPopup() {
+ return GetThemeProvider();
+}
+
+gfx::NativeView LocationBarView::GetPopupParent() {
+ return GetWidget()->GetNativeView();
+}
+
int LocationBarView::GetHorizontalEdgeThickness() const {
if (!is_popup_mode_)
return kNormalHorizontalEdgeThickness;

Powered by Google App Engine
This is Rietveld 408576698