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

Unified Diff: third_party/WebKit/Source/devtools/front_end/emulation/module.json

Issue 1840533002: Devtools: Add screenshot button to device mode toolbar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaselined again Created 4 years, 9 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeWrapper.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/emulation/module.json
diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/module.json b/third_party/WebKit/Source/devtools/front_end/emulation/module.json
index a007bb3a98185c4f700ace22f814f7439288cb38..0375d4f9a43bb1869b528c8c55bd836ebd10fdb8 100644
--- a/third_party/WebKit/Source/devtools/front_end/emulation/module.json
+++ b/third_party/WebKit/Source/devtools/front_end/emulation/module.json
@@ -26,6 +26,18 @@
]
},
{
+ "type": "@WebInspector.ActionDelegate",
+ "actionId": "emulation.capture-screenshot",
+ "className": "WebInspector.DeviceModeWrapper.ActionDelegate",
+ "title": "Capture screenshot"
+ },
+ {
+ "type": "context-menu-item",
+ "location": "deviceModeMenu/tools",
+ "order": 12,
+ "actionId": "emulation.capture-screenshot"
+ },
+ {
"type": "@WebInspector.ToolbarItem.Provider",
"actionId": "emulation.toggle-device-mode",
"condition": "can_dock",
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeWrapper.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698