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

Side by Side Diff: headless/public/headless_devtools_client.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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef HEADLESS_PUBLIC_HEADLESS_DEVTOOLS_CLIENT_H_ 5 #ifndef HEADLESS_PUBLIC_HEADLESS_DEVTOOLS_CLIENT_H_
6 #define HEADLESS_PUBLIC_HEADLESS_DEVTOOLS_CLIENT_H_ 6 #define HEADLESS_PUBLIC_HEADLESS_DEVTOOLS_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 30 matching lines...) Expand all
41 } 41 }
42 namespace device_orientation { 42 namespace device_orientation {
43 class Domain; 43 class Domain;
44 } 44 }
45 namespace dom { 45 namespace dom {
46 class Domain; 46 class Domain;
47 } 47 }
48 namespace dom_debugger { 48 namespace dom_debugger {
49 class Domain; 49 class Domain;
50 } 50 }
51 namespace dom_snapshot {
52 class Domain;
53 }
51 namespace dom_storage { 54 namespace dom_storage {
52 class Domain; 55 class Domain;
53 } 56 }
54 namespace emulation { 57 namespace emulation {
55 class Domain; 58 class Domain;
56 } 59 }
57 namespace heap_profiler { 60 namespace heap_profiler {
58 class Domain; 61 class Domain;
59 } 62 }
60 namespace indexeddb { 63 namespace indexeddb {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 virtual application_cache::Domain* GetApplicationCache() = 0; 123 virtual application_cache::Domain* GetApplicationCache() = 0;
121 virtual browser::Domain* GetBrowser() = 0; 124 virtual browser::Domain* GetBrowser() = 0;
122 virtual cache_storage::Domain* GetCacheStorage() = 0; 125 virtual cache_storage::Domain* GetCacheStorage() = 0;
123 virtual console::Domain* GetConsole() = 0; 126 virtual console::Domain* GetConsole() = 0;
124 virtual css::Domain* GetCSS() = 0; 127 virtual css::Domain* GetCSS() = 0;
125 virtual database::Domain* GetDatabase() = 0; 128 virtual database::Domain* GetDatabase() = 0;
126 virtual debugger::Domain* GetDebugger() = 0; 129 virtual debugger::Domain* GetDebugger() = 0;
127 virtual device_orientation::Domain* GetDeviceOrientation() = 0; 130 virtual device_orientation::Domain* GetDeviceOrientation() = 0;
128 virtual dom::Domain* GetDOM() = 0; 131 virtual dom::Domain* GetDOM() = 0;
129 virtual dom_debugger::Domain* GetDOMDebugger() = 0; 132 virtual dom_debugger::Domain* GetDOMDebugger() = 0;
133 virtual dom_snapshot::Domain* GetDOMSnapshot() = 0;
130 virtual dom_storage::Domain* GetDOMStorage() = 0; 134 virtual dom_storage::Domain* GetDOMStorage() = 0;
131 virtual emulation::Domain* GetEmulation() = 0; 135 virtual emulation::Domain* GetEmulation() = 0;
132 virtual heap_profiler::Domain* GetHeapProfiler() = 0; 136 virtual heap_profiler::Domain* GetHeapProfiler() = 0;
133 virtual indexeddb::Domain* GetIndexedDB() = 0; 137 virtual indexeddb::Domain* GetIndexedDB() = 0;
134 virtual input::Domain* GetInput() = 0; 138 virtual input::Domain* GetInput() = 0;
135 virtual inspector::Domain* GetInspector() = 0; 139 virtual inspector::Domain* GetInspector() = 0;
136 virtual io::Domain* GetIO() = 0; 140 virtual io::Domain* GetIO() = 0;
137 virtual layer_tree::Domain* GetLayerTree() = 0; 141 virtual layer_tree::Domain* GetLayerTree() = 0;
138 virtual log::Domain* GetLog() = 0; 142 virtual log::Domain* GetLog() = 0;
139 virtual memory::Domain* GetMemory() = 0; 143 virtual memory::Domain* GetMemory() = 0;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 friend class HeadlessDevToolsClientImpl; 181 friend class HeadlessDevToolsClientImpl;
178 182
179 HeadlessDevToolsClient() {} 183 HeadlessDevToolsClient() {}
180 184
181 DISALLOW_COPY_AND_ASSIGN(HeadlessDevToolsClient); 185 DISALLOW_COPY_AND_ASSIGN(HeadlessDevToolsClient);
182 }; 186 };
183 187
184 } // namespace headless 188 } // namespace headless
185 189
186 #endif // HEADLESS_PUBLIC_HEADLESS_DEVTOOLS_CLIENT_H_ 190 #endif // HEADLESS_PUBLIC_HEADLESS_DEVTOOLS_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698