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

Side by Side Diff: content/browser/devtools/protocol_config.json

Issue 2548263002: [DevTools] Migrate dom, emulation, inspector, network, page and schema handlers to new generator. (Closed)
Patch Set: rebased atop of roll Created 4 years 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
OLDNEW
1 { 1 {
2 "use_snake_file_names": true, 2 "use_snake_file_names": true,
3 "use_title_case_methods": true, 3 "use_title_case_methods": true,
4 4
5 "protocol": { 5 "protocol": {
6 "package": "content/browser/devtools/protocol", 6 "package": "content/browser/devtools/protocol",
7 "output": "protocol", 7 "output": "protocol",
8 "namespace": ["content", "protocol"], 8 "namespace": ["content", "protocol"],
9 "export_macro": "CONTENT_EXPORT", 9 "export_macro": "CONTENT_EXPORT",
10 "export_header": "content/common/content_export.h", 10 "export_header": "content/common/content_export.h",
11 "options": [ 11 "options": [
12 { 12 {
13 "domain": "DOM",
14 "include": ["setFileInputFiles"],
15 "include_events": [],
16 "include_types": ["NodeId", "RGBA"]
17 },
18 {
19 "domain": "Emulation",
20 "include": ["setGeolocationOverride", "clearGeolocationOverride" , "setTouchEmulationEnabled", "canEmulate", "setDeviceMetricsOverride", "clearDe viceMetricsOverride", "setVisibleSize"]
21 },
22 {
23 "domain": "Inspector"
24 },
25 {
13 "domain": "IO", 26 "domain": "IO",
14 "async": ["read"] 27 "async": ["read"]
15 }, 28 },
16 { 29 {
17 "domain": "Memory", 30 "domain": "Memory",
18 "include": ["setPressureNotificationsSuppressed", "simulatePress ureNotification"] 31 "include": ["setPressureNotificationsSuppressed", "simulatePress ureNotification"]
19 }, 32 },
20 { 33 {
34 "domain": "Network",
35 "include": ["enable", "disable", "clearBrowserCache", "clearBrow serCookies", "getCookies", "deleteCookie", "setCookie", "canEmulateNetworkCondit ions"],
36 "include_types": ["CookieSameSite", "Cookie"],
37 "include_events": [],
38 "async": ["getCookies", "deleteCookie", "setCookie"]
39 },
40 {
41 "domain": "Page",
42 "include": ["enable", "disable", "reload", "navigate", "stopLoad ing", "getNavigationHistory", "navigateToHistoryEntry", "captureScreenshot",
43 "startScreencast", "stopScreencast", "screencastFrameAck", " handleJavaScriptDialog", "setColorPickerEnabled", "requestAppBanner",
44 "setControlNavigations", "processNavigation"],
45 "include_events": ["interstitialShown", "interstitialHidden", "n avigationRequested", "screencastVisibilityChanged", "screencastFrame", "colorPic ked"],
46 "async": ["captureScreenshot"]
47 },
48 {
49 "domain": "Schema"
50 },
51 {
21 "domain": "SystemInfo", 52 "domain": "SystemInfo",
22 "async": ["getInfo"] 53 "async": ["getInfo"]
23 }, 54 },
24 { 55 {
25 "domain": "Tethering", 56 "domain": "Tethering",
26 "async": ["bind", "unbind"] 57 "async": ["bind", "unbind"]
27 }, 58 },
28 { 59 {
29 "domain": "Tracing", 60 "domain": "Tracing",
30 "async": ["start", "end", "getCategories", "requestMemoryDump"] 61 "async": ["start", "end", "getCategories", "requestMemoryDump"]
31 } 62 }
32 ] 63 ]
33 }, 64 },
34 65
35 "lib": { 66 "lib": {
36 "package": "content/browser/devtools/protocol", 67 "package": "content/browser/devtools/protocol",
37 "output": "protocol", 68 "output": "protocol",
38 "string_header": "content/browser/devtools/protocol_string.h", 69 "string_header": "content/browser/devtools/protocol_string.h",
39 "export_macro": "CONTENT_EXPORT", 70 "export_macro": "CONTENT_EXPORT",
40 "export_header": "content/common/content_export.h" 71 "export_header": "content/common/content_export.h"
41 } 72 }
42 } 73 }
OLDNEW
« no previous file with comments | « content/browser/devtools/protocol/schema_handler.cc ('k') | content/browser/devtools/render_frame_devtools_agent_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698