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

Unified Diff: third_party/WebKit/Source/platform/inspector_protocol/Frontend.h

Issue 2012753003: DevTools: consolidate protocol generators for front-end, backend and type builder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: third_party/WebKit/Source/platform/inspector_protocol/Frontend.h
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/Frontend.h b/third_party/WebKit/Source/platform/inspector_protocol/Frontend.h
new file mode 100644
index 0000000000000000000000000000000000000000..04ba5f92710f6376182e4d0684e9901c465f1bd7
--- /dev/null
+++ b/third_party/WebKit/Source/platform/inspector_protocol/Frontend.h
@@ -0,0 +1,59 @@
+// Copyright (c) 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef Frontend_h
+#define Frontend_h
+
+#include "platform/inspector_protocol/FrontendChannel.h"
+#include "platform/inspector_protocol/TypeBuilder.h"
+#include "platform/inspector_protocol/Values.h"
+
+namespace blink {
+namespace protocol {
+
+class PLATFORM_EXPORT Frontend {
dgozman 2016/05/26 20:55:30 Why don't we generate this one? Why do we even nee
+public:
+ explicit Frontend(FrontendChannel*);
+ FrontendChannel* channel() { return m_frontendChannel; }
+
+private:
+ FrontendChannel* m_frontendChannel;
+
+public:
+ Accessibility::Frontend m_accessibility;
+ Animation::Frontend m_animation;
+ ApplicationCache::Frontend m_applicationcache;
+ CacheStorage::Frontend m_cachestorage;
+ Console::Frontend m_console;
+ CSS::Frontend m_css;
+ Database::Frontend m_database;
+ Debugger::Frontend m_debugger;
+ DeviceOrientation::Frontend m_deviceorientation;
+ DOMDebugger::Frontend m_domdebugger;
+ DOM::Frontend m_dom;
+ DOMStorage::Frontend m_domstorage;
+ Emulation::Frontend m_emulation;
+ HeapProfiler::Frontend m_heapprofiler;
+ IndexedDB::Frontend m_indexeddb;
+ Input::Frontend m_input;
+ Inspector::Frontend m_inspector;
+ IO::Frontend m_io;
+ LayerTree::Frontend m_layertree;
+ Memory::Frontend m_memory;
+ Network::Frontend m_network;
+ Page::Frontend m_page;
+ Profiler::Frontend m_profiler;
+ Rendering::Frontend m_rendering;
+ Runtime::Frontend m_runtime;
+ Security::Frontend m_security;
+ ServiceWorker::Frontend m_serviceworker;
+ Storage::Frontend m_storage;
+ Tracing::Frontend m_tracing;
+ Worker::Frontend m_worker;
+};
+
+} // namespace protocol
+} // namespace blink
+
+#endif // !defined(Frontend_h)

Powered by Google App Engine
This is Rietveld 408576698