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

Unified Diff: components/toolbar/test_toolbar_model.cc

Issue 2399333002: Revert of Delete pre-MD code from OmniboxResultView (Closed)
Patch Set: Created 4 years, 2 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 | « components/toolbar/test_toolbar_model.h ('k') | components/toolbar/toolbar_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/toolbar/test_toolbar_model.cc
diff --git a/components/toolbar/test_toolbar_model.cc b/components/toolbar/test_toolbar_model.cc
index 4188361ce8936bbc97ab141ff678e3c0a96ca70f..31d0f5d0b40d2ca7926ea0f41a597441d6ad4c6f 100644
--- a/components/toolbar/test_toolbar_model.cc
+++ b/components/toolbar/test_toolbar_model.cc
@@ -4,6 +4,7 @@
#include "components/toolbar/test_toolbar_model.h"
+#include "components/grit/components_scaled_resources.h"
#include "ui/gfx/vector_icons_public.h"
TestToolbarModel::TestToolbarModel()
@@ -31,6 +32,11 @@
return security_level_;
}
+int TestToolbarModel::GetIcon() const {
+ // This placeholder implementation should be removed when MD is default.
+ return IDR_LOCATION_BAR_HTTP;
+}
+
gfx::VectorIconId TestToolbarModel::GetVectorIcon() const {
return icon_;
}
« no previous file with comments | « components/toolbar/test_toolbar_model.h ('k') | components/toolbar/toolbar_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698