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

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: 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
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..2ca5c2c56636416fe1ee628481e651bb7cd11477 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h
+++ b/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h
@@ -156,7 +156,9 @@ class OmniboxPopupContentsView : public views::View,
int start_margin_;
int end_margin_;
- const gfx::ImageSkia* bottom_shadow_; // Ptr owned by resource bundle.
+ // These pointers are owned by the resource bundle.
+ const gfx::ImageSkia* top_shadow_;
+ const gfx::ImageSkia* bottom_shadow_;
// 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