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

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

Issue 2819183002: [DevTools] Consolidate overlay-related functionality in Overlay domain (Closed)
Patch Set: rebased bad merge 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 | headless/BUILD.gn » ('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 6cf5b21db2518327f79d91799310454d9822e705..f4f862cb7c23c3e40d8c31518dd7cd9c60fea2de 100644
--- a/content/browser/devtools/protocol/schema_handler.cc
+++ b/content/browser/devtools/protocol/schema_handler.cc
@@ -22,14 +22,37 @@ Response SchemaHandler::GetDomains(
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", "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"
- };
+ 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"};
*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 | headless/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698