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

Side by Side Diff: chrome/browser/renderer_context_menu/context_menu_content_type.h

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, 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/renderer_context_menu/context_menu_content_type.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_H_ 5 #ifndef CHROME_BROWSER_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_H_
6 #define CHROME_BROWSER_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_H_ 6 #define CHROME_BROWSER_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_H_
7 7
8 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" 8 #include "chrome/browser/custom_handlers/protocol_handler_registry.h"
9 #include "content/public/common/context_menu_params.h" 9 #include "content/public/common/context_menu_params.h"
10 #include "ui/base/models/simple_menu_model.h" 10 #include "ui/base/models/simple_menu_model.h"
(...skipping 20 matching lines...) Expand all
31 // Order matters as they are appended in the enum order. 31 // Order matters as they are appended in the enum order.
32 enum ItemGroup { 32 enum ItemGroup {
33 ITEM_GROUP_CUSTOM, 33 ITEM_GROUP_CUSTOM,
34 ITEM_GROUP_PAGE, 34 ITEM_GROUP_PAGE,
35 ITEM_GROUP_FRAME, 35 ITEM_GROUP_FRAME,
36 ITEM_GROUP_LINK, 36 ITEM_GROUP_LINK,
37 ITEM_GROUP_MEDIA_IMAGE, 37 ITEM_GROUP_MEDIA_IMAGE,
38 ITEM_GROUP_SEARCHWEBFORIMAGE, 38 ITEM_GROUP_SEARCHWEBFORIMAGE,
39 ITEM_GROUP_MEDIA_VIDEO, 39 ITEM_GROUP_MEDIA_VIDEO,
40 ITEM_GROUP_MEDIA_AUDIO, 40 ITEM_GROUP_MEDIA_AUDIO,
41 ITEM_GROUP_MEDIA_CANVAS,
41 ITEM_GROUP_MEDIA_PLUGIN, 42 ITEM_GROUP_MEDIA_PLUGIN,
42 ITEM_GROUP_MEDIA_FILE, 43 ITEM_GROUP_MEDIA_FILE,
43 ITEM_GROUP_EDITABLE, 44 ITEM_GROUP_EDITABLE,
44 ITEM_GROUP_COPY, 45 ITEM_GROUP_COPY,
45 ITEM_GROUP_SEARCH_PROVIDER, 46 ITEM_GROUP_SEARCH_PROVIDER,
46 ITEM_GROUP_PRINT, 47 ITEM_GROUP_PRINT,
47 ITEM_GROUP_ALL_EXTENSION, 48 ITEM_GROUP_ALL_EXTENSION,
48 ITEM_GROUP_CURRENT_EXTENSION, 49 ITEM_GROUP_CURRENT_EXTENSION,
49 ITEM_GROUP_DEVELOPER, 50 ITEM_GROUP_DEVELOPER,
50 ITEM_GROUP_DEVTOOLS_UNPACKED_EXT, 51 ITEM_GROUP_DEVTOOLS_UNPACKED_EXT,
(...skipping 24 matching lines...) Expand all
75 76
76 const content::ContextMenuParams params_; 77 const content::ContextMenuParams params_;
77 content::WebContents* source_web_contents_; 78 content::WebContents* source_web_contents_;
78 Profile* profile_; 79 Profile* profile_;
79 const bool supports_custom_items_; 80 const bool supports_custom_items_;
80 81
81 DISALLOW_COPY_AND_ASSIGN(ContextMenuContentType); 82 DISALLOW_COPY_AND_ASSIGN(ContextMenuContentType);
82 }; 83 };
83 84
84 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_H_ 85 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/renderer_context_menu/context_menu_content_type.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698