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

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

Issue 1319983002: Add a top shadow to material design omnibox dropdown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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.h
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.h b/chrome/browser/ui/views/location_bar/location_bar_view.h
index efbcbd16578d44396b1cec79520890243987fb03..3ea5a21def19234f762f60e0d42593973452b8cf 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
@@ -223,11 +223,14 @@ class LocationBarView : public LocationBar,
// Returns the position and width that the popup should be, and also the left
// edge that the results should align themselves to (which will leave some
- // border on the left of the popup).
+ // border on the left of the popup). |top_edge_overlap| specifies the number
+ // of pixels the top edge of the popup should overlap the bottom edge of
+ // the location bar.
Peter Kasting 2015/08/27 19:05:04 I think you mean "toolbar" rather than "location b
tdanderson 2015/08/27 19:47:20 Done.
void GetOmniboxPopupPositioningInfo(gfx::Point* top_left_screen_coord,
int* popup_width,
int* left_margin,
- int* right_margin);
+ int* right_margin,
+ int top_edge_overlap);
// Updates the controller, and, if |contents| is non-null, restores saved
// state that the tab holds.

Powered by Google App Engine
This is Rietveld 408576698