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

Unified Diff: chrome/browser/extensions/extension_context_menu_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: 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,
sky 2016/10/06 21:18:55 Business, eh? I'm assuming this is right.
Evan Stade 2016/10/06 21:27:10 yea, it looks like a small cluster of office build
+ gfx::kChromeIconGrey)));
}
}
« no previous file with comments | « chrome/browser/chromeos/options/network_config_view.cc ('k') | chrome/browser/ui/app_list/search/omnibox_result.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698