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

Unified Diff: chrome/browser/extensions/extension_context_menu_model.cc

Issue 2365263006: Delete pre-MD code from OmniboxResultView (Closed)
Patch Set: rebase 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: chrome/browser/extensions/extension_context_menu_model.cc
diff --git a/chrome/browser/extensions/extension_context_menu_model.cc b/chrome/browser/extensions/extension_context_menu_model.cc
index 773a28b5e6169d3cf04064407bc0a6723d89018d..61863addec202c21a60d4bc6e98ff751e56d2806 100644
--- a/chrome/browser/extensions/extension_context_menu_model.cc
+++ b/chrome/browser/extensions/extension_context_menu_model.cc
@@ -43,7 +43,10 @@
#include "extensions/common/manifest_url_handlers.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
+#include "ui/gfx/color_palette.h"
#include "ui/gfx/image/image.h"
+#include "ui/gfx/paint_vector_icon.h"
+#include "ui/gfx/vector_icons_public.h"
namespace extensions {
@@ -327,8 +330,8 @@ void ExtensionContextMenuModel::InitMenu(const Extension* extension,
if (is_required_by_policy) {
int uninstall_index = GetIndexOfCommandId(UNINSTALL);
SetIcon(uninstall_index,
- ui::ResourceBundle::GetSharedInstance().GetImageNamed(
- IDR_OMNIBOX_HTTPS_POLICY_WARNING));
+ gfx::Image(gfx::CreateVectorIcon(gfx::VectorIconId::BUSINESS, 16,
+ gfx::kChromeIconGrey)));
}
}

Powered by Google App Engine
This is Rietveld 408576698