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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_popup_contents_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/omnibox/omnibox_popup_contents_view.h
diff --git a/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h b/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h
index 376f2f57a91570126cd9ef4f66684c5d2ff98510..c68262bab51bff72c3012c9c0623ea517ff4ca15 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h
+++ b/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h
@@ -157,6 +157,7 @@ class OmniboxPopupContentsView : public views::View,
int end_margin_;
const gfx::ImageSkia* bottom_shadow_; // Ptr owned by resource bundle.
Peter Kasting 2015/08/27 19:05:04 Nit: Since there are now two of these, just write
tdanderson 2015/08/27 19:47:20 Done.
+ const gfx::ImageSkia* top_shadow_; // Ptr owned by resource bundle.
Peter Kasting 2015/08/27 19:05:04 Tiny nit: Reverse these (and in the .cc file) sinc
tdanderson 2015/08/27 19:47:20 Done.
// When the dropdown is not wide enough while displaying postfix suggestions,
// we use the width of widest match contents to shift the suggestions so that

Powered by Google App Engine
This is Rietveld 408576698