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

Unified Diff: chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc

Issue 14270006: linux_aura: Use the correct tinted icons when in gtk+ theme mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | « chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc
diff --git a/chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc b/chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc
index f0d09501c8fbf62ce39276b0a6e9111a0e7eb83b..fd3612400c884022d883340080a79b1554e986f8 100644
--- a/chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc
+++ b/chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc
@@ -17,8 +17,9 @@
TouchOmniboxResultView::TouchOmniboxResultView(OmniboxResultViewModel* model,
int model_index,
+ views::View* location_bar,
const gfx::Font& font)
- : OmniboxResultView(model, model_index, font) {
+ : OmniboxResultView(model, model_index, location_bar, font) {
set_edge_item_padding(8);
set_item_padding(8);
set_minimum_text_vertical_padding(10);
@@ -99,7 +100,7 @@ OmniboxResultView* TouchOmniboxPopupContentsView::CreateResultView(
OmniboxResultViewModel* model,
int model_index,
const gfx::Font& font) {
- return new TouchOmniboxResultView(model, model_index, font);
+ return new TouchOmniboxResultView(model, model_index, location_bar(), font);
}
std::vector<views::View*> TouchOmniboxPopupContentsView::GetVisibleChildren() {
« no previous file with comments | « chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698