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

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: new comments 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/location_bar/location_bar_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..cfadf7470ae49e40ecd00ea474c87ebd6d452060 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 toolbar.
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.
« no previous file with comments | « no previous file | chrome/browser/ui/views/location_bar/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698