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

Unified Diff: content/browser/devtools/protocol/schema_handler.cc

Issue 2826833002: Revert of [DevTools] Consolidate overlay-related functionality in Overlay domain (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/protocol/schema_handler.cc
diff --git a/content/browser/devtools/protocol/schema_handler.cc b/content/browser/devtools/protocol/schema_handler.cc
index f4f862cb7c23c3e40d8c31518dd7cd9c60fea2de..6cf5b21db2518327f79d91799310454d9822e705 100644
--- a/content/browser/devtools/protocol/schema_handler.cc
+++ b/content/browser/devtools/protocol/schema_handler.cc
@@ -22,37 +22,14 @@
std::unique_ptr<protocol::Array<Schema::Domain>>* domains) {
// TODO(kozyatisnkiy): get this from the target instead of hardcoding a list.
static const char kVersion[] = "1.2";
- static const char* kDomains[] = {"Inspector",
- "Memory",
- "Page",
- "Emulation",
- "Security",
- "Network",
- "Database",
- "IndexedDB",
- "CacheStorage",
- "DOMStorage",
- "CSS",
- "ApplicationCache",
- "DOM",
- "IO",
- "DOMDebugger",
- "ServiceWorker",
- "Input",
- "LayerTree",
- "DeviceOrientation",
- "Tracing",
- "Animation",
- "Accessibility",
- "Storage",
- "Log",
- "Runtime",
- "Debugger",
- "Profiler",
- "HeapProfiler",
- "Schema",
- "Target",
- "Overlay"};
+ static const char* kDomains[] = {
+ "Inspector", "Memory", "Page", "Rendering", "Emulation", "Security",
+ "Network", "Database", "IndexedDB", "CacheStorage", "DOMStorage", "CSS",
+ "ApplicationCache", "DOM", "IO", "DOMDebugger", "ServiceWorker",
+ "Input", "LayerTree", "DeviceOrientation", "Tracing", "Animation",
+ "Accessibility", "Storage", "Log", "Runtime", "Debugger",
+ "Profiler", "HeapProfiler", "Schema", "Target"
+ };
*domains = protocol::Array<Schema::Domain>::create();
for (size_t i = 0; i < arraysize(kDomains); ++i) {
(*domains)->addItem(Schema::Domain::Create()
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698