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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h

Issue 2364163002: Views - draw omnibox popup shadows (Closed)
Patch Set: one less include Created 4 years, 3 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 151588c3887c81b9f9754803aee7df3774981f8b..197c963206d4f8cc1d350209c2b4f5de91c275ce 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h
+++ b/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h
@@ -15,6 +15,7 @@
#include "ui/gfx/animation/animation_delegate.h"
#include "ui/gfx/animation/slide_animation.h"
#include "ui/gfx/font_list.h"
+#include "ui/gfx/image/image.h"
#include "ui/views/view.h"
#include "ui/views/view_targeter_delegate.h"
@@ -158,10 +159,6 @@ class OmniboxPopupContentsView : public views::View,
int start_margin_;
int end_margin_;
- // These pointers are owned by the resource bundle.
- const gfx::ImageSkia* top_shadow_ = nullptr;
- const gfx::ImageSkia* bottom_shadow_ = nullptr;
-
// 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
// the widest suggestion just reaches the end edge.

Powered by Google App Engine
This is Rietveld 408576698