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

Unified Diff: chrome/browser/renderer_context_menu/context_menu_content_type.cc

Issue 263453007: Implement "Save image as" for canvas (chromium side). (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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/renderer_context_menu/context_menu_content_type.cc
diff --git a/chrome/browser/renderer_context_menu/context_menu_content_type.cc b/chrome/browser/renderer_context_menu/context_menu_content_type.cc
index 256f30ba66ae3a49bab8b9143c51bc0d1ad3f515..4441030d577087306ff44949520ae78b914c4b13 100644
--- a/chrome/browser/renderer_context_menu/context_menu_content_type.cc
+++ b/chrome/browser/renderer_context_menu/context_menu_content_type.cc
@@ -127,6 +127,9 @@ bool ContextMenuContentType::SupportsGroupInternal(int group) {
case ITEM_GROUP_MEDIA_AUDIO:
return params_.media_type == WebContextMenuData::MediaTypeAudio;
+ case ITEM_GROUP_MEDIA_CANVAS:
+ return params_.media_type == WebContextMenuData::MediaTypeCanvas;
+
case ITEM_GROUP_MEDIA_PLUGIN:
return params_.media_type == WebContextMenuData::MediaTypePlugin;

Powered by Google App Engine
This is Rietveld 408576698