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

Unified Diff: content/public/common/context_menu_params.cc

Issue 23200006: Don't show the search-by-image menu item when the image is blocked (no image pixel data) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: use ContextMenuParams::has_image_contents to check image's availability Created 7 years, 4 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: content/public/common/context_menu_params.cc
===================================================================
--- content/public/common/context_menu_params.cc (revision 218359)
+++ content/public/common/context_menu_params.cc (working copy)
@@ -18,7 +18,7 @@
: media_type(WebKit::WebContextMenuData::MediaTypeNone),
x(0),
y(0),
- is_image_blocked(false),
+ has_image_contents(true),
frame_id(0),
media_flags(0),
misspelling_hash(0),

Powered by Google App Engine
This is Rietveld 408576698