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

Unified Diff: components/toolbar/test_toolbar_model.cc

Issue 2365263006: Delete pre-MD code from OmniboxResultView (Closed)
Patch Set: update references to constant (merge resolution) 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
Index: components/toolbar/test_toolbar_model.cc
diff --git a/components/toolbar/test_toolbar_model.cc b/components/toolbar/test_toolbar_model.cc
index 31d0f5d0b40d2ca7926ea0f41a597441d6ad4c6f..4188361ce8936bbc97ab141ff678e3c0a96ca70f 100644
--- a/components/toolbar/test_toolbar_model.cc
+++ b/components/toolbar/test_toolbar_model.cc
@@ -4,7 +4,6 @@
#include "components/toolbar/test_toolbar_model.h"
-#include "components/grit/components_scaled_resources.h"
#include "ui/gfx/vector_icons_public.h"
TestToolbarModel::TestToolbarModel()
@@ -32,11 +31,6 @@ TestToolbarModel::GetSecurityLevel(bool ignore_editing) const {
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_;
}

Powered by Google App Engine
This is Rietveld 408576698