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

Unified Diff: headless/lib/browser/headless_devtools_client_impl.cc

Issue 2882193002: [devtools] Add DOMSnapshot domain for dom+layout+style snapshots. (Closed)
Patch Set: move aux properties back to node type Created 3 years, 6 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
Index: headless/lib/browser/headless_devtools_client_impl.cc
diff --git a/headless/lib/browser/headless_devtools_client_impl.cc b/headless/lib/browser/headless_devtools_client_impl.cc
index 2243b20b07ab39dd09016f8c036458df67f109b7..3d07de1a574600eb012acb4661eee27178faca27 100644
--- a/headless/lib/browser/headless_devtools_client_impl.cc
+++ b/headless/lib/browser/headless_devtools_client_impl.cc
@@ -45,8 +45,9 @@ HeadlessDevToolsClientImpl::HeadlessDevToolsClientImpl()
database_domain_(this),
debugger_domain_(this),
device_orientation_domain_(this),
- dom_debugger_domain_(this),
dom_domain_(this),
+ dom_debugger_domain_(this),
+ dom_snapshot_domain_(this),
dom_storage_domain_(this),
emulation_domain_(this),
heap_profiler_domain_(this),
@@ -273,12 +274,16 @@ device_orientation::Domain* HeadlessDevToolsClientImpl::GetDeviceOrientation() {
return &device_orientation_domain_;
}
+dom::Domain* HeadlessDevToolsClientImpl::GetDOM() {
+ return &dom_domain_;
+}
+
dom_debugger::Domain* HeadlessDevToolsClientImpl::GetDOMDebugger() {
return &dom_debugger_domain_;
}
-dom::Domain* HeadlessDevToolsClientImpl::GetDOM() {
- return &dom_domain_;
+dom_snapshot::Domain* HeadlessDevToolsClientImpl::GetDOMSnapshot() {
+ return &dom_snapshot_domain_;
}
dom_storage::Domain* HeadlessDevToolsClientImpl::GetDOMStorage() {
« no previous file with comments | « headless/lib/browser/headless_devtools_client_impl.h ('k') | headless/lib/headless_devtools_client_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698