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

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

Issue 2882193002: [devtools] Add DOMSnapshot domain for dom+layout+style snapshots. (Closed)
Patch Set: back to DOMSnapshot domain, with custom node types + traversal. 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.h
diff --git a/headless/lib/browser/headless_devtools_client_impl.h b/headless/lib/browser/headless_devtools_client_impl.h
index 6b40283d4136331b4ab672556b3e90a17d9296c3..7a274ef610879641d2d59a666fe0bd571a5d7b2d 100644
--- a/headless/lib/browser/headless_devtools_client_impl.h
+++ b/headless/lib/browser/headless_devtools_client_impl.h
@@ -22,6 +22,7 @@
#include "headless/public/devtools/domains/device_orientation.h"
#include "headless/public/devtools/domains/dom.h"
#include "headless/public/devtools/domains/dom_debugger.h"
+#include "headless/public/devtools/domains/dom_snapshot.h"
#include "headless/public/devtools/domains/dom_storage.h"
#include "headless/public/devtools/domains/emulation.h"
#include "headless/public/devtools/domains/heap_profiler.h"
@@ -75,6 +76,7 @@ class HeadlessDevToolsClientImpl : public HeadlessDevToolsClient,
device_orientation::Domain* GetDeviceOrientation() override;
dom::Domain* GetDOM() override;
dom_debugger::Domain* GetDOMDebugger() override;
+ dom_snapshot::Domain* GetDOMSnapshot() override;
dom_storage::Domain* GetDOMStorage() override;
emulation::Domain* GetEmulation() override;
heap_profiler::Domain* GetHeapProfiler() override;
@@ -176,8 +178,9 @@ class HeadlessDevToolsClientImpl : public HeadlessDevToolsClient,
database::ExperimentalDomain database_domain_;
debugger::ExperimentalDomain debugger_domain_;
device_orientation::ExperimentalDomain device_orientation_domain_;
- dom_debugger::ExperimentalDomain dom_debugger_domain_;
dom::ExperimentalDomain dom_domain_;
+ dom_debugger::ExperimentalDomain dom_debugger_domain_;
+ dom_snapshot::ExperimentalDomain dom_snapshot_domain_;
dom_storage::ExperimentalDomain dom_storage_domain_;
emulation::ExperimentalDomain emulation_domain_;
heap_profiler::ExperimentalDomain heap_profiler_domain_;

Powered by Google App Engine
This is Rietveld 408576698