Index: content/browser/devtools/protocol/page_domain_handler.cc |
diff --git a/content/browser/devtools/protocol/page_domain_handler.cc b/content/browser/devtools/protocol/page_domain_handler.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..73edf022b9cc3284da0bb86aac3078dacd90da1f |
--- /dev/null |
+++ b/content/browser/devtools/protocol/page_domain_handler.cc |
@@ -0,0 +1,101 @@ |
+// Copyright 2014 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. |
+ |
+#include "content/browser/devtools/protocol/page_domain_handler.h" |
+ |
+namespace content { |
+namespace devtools { |
+namespace page { |
+ |
+typedef DevToolsProtocolFrontend::Response Response; |
+ |
+Handler::Handler() { |
+} |
+ |
+Handler::~Handler() { |
+} |
+ |
+void Handler::OnClientDetached() { |
+} |
+ |
+void Handler::SetRenderViewHost(RenderViewHostImpl* host) { |
+} |
+ |
+void Handler::SetFrontend(scoped_ptr<Frontend> frontend) { |
+ frontend_.swap(frontend); |
+} |
+ |
+Response Handler::Enable() { |
+ return Response::FallThrough(); |
+} |
+ |
+Response Handler::Disable() { |
+ return Response::FallThrough(); |
+} |
+ |
+Response Handler::Reload(const bool* ignoreCache, |
+ const std::string* script_to_evaluate_on_load, |
+ const std::string* script_preprocessor) { |
+ return Response::FallThrough(); |
+} |
+ |
+Response Handler::Navigate(const std::string& url, |
+ FrameId* frame_id) { |
+ return Response::FallThrough(); |
+} |
+ |
+Response Handler::GetNavigationHistory(int* current_index, |
+ std::vector<NavigationEntry>* entries) { |
+ return Response::FallThrough(); |
+} |
+ |
+Response Handler::NavigateToHistoryEntry(int entry_id) { |
+ return Response::FallThrough(); |
+} |
+ |
+Response Handler::SetTouchEmulationEnabled(bool enabled) { |
+ return Response::FallThrough(); |
+} |
+ |
+Response Handler::CaptureScreenshot(std::string* data) { |
+ return Response::FallThrough(); |
+} |
+ |
+Response Handler::CanScreencast(bool* result) { |
+ return Response::FallThrough(); |
+} |
+ |
+Response Handler::CanEmulate(bool* result) { |
+ return Response::FallThrough(); |
+} |
+ |
+Response Handler::StartScreencast(const std::string* format, |
+ const int* quality, |
+ const int* max_width, |
+ const int* max_height) { |
+ return Response::FallThrough(); |
+} |
+ |
+Response Handler::StopScreencast() { |
+ return Response::FallThrough(); |
+} |
+ |
+Response Handler::HandleJavaScriptDialog(bool accept, |
+ const std::string* prompt_text) { |
+ return Response::FallThrough(); |
+} |
+ |
+Response Handler::QueryUsageAndQuota(const std::string& security_origin, |
+ Quota* quota, |
+ Usage* usage) { |
+ return Response::FallThrough(); |
+} |
+ |
+Response Handler::SetColorPickerEnabled(bool enabled) { |
+ return Response::FallThrough(); |
+} |
+ |
+} // namespace page |
+} // namespace devtools |
+} // namespace content |