OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "content/browser/devtools/protocol/page_domain_handler.h" |
| 6 |
| 7 namespace content { |
| 8 namespace devtools { |
| 9 namespace page { |
| 10 |
| 11 typedef DevToolsProtocolFrontend::Response Response; |
| 12 |
| 13 Handler::Handler() { |
| 14 } |
| 15 |
| 16 Handler::~Handler() { |
| 17 } |
| 18 |
| 19 void Handler::OnClientDetached() { |
| 20 } |
| 21 |
| 22 void Handler::SetRenderViewHost(RenderViewHostImpl* host) { |
| 23 } |
| 24 |
| 25 void Handler::SetFrontend(scoped_ptr<Frontend> frontend) { |
| 26 frontend_.swap(frontend); |
| 27 } |
| 28 |
| 29 Response Handler::Enable() { |
| 30 return Response::FallThrough(); |
| 31 } |
| 32 |
| 33 Response Handler::Disable() { |
| 34 return Response::FallThrough(); |
| 35 } |
| 36 |
| 37 Response Handler::Reload(const bool* ignoreCache, |
| 38 const std::string* script_to_evaluate_on_load, |
| 39 const std::string* script_preprocessor) { |
| 40 return Response::FallThrough(); |
| 41 } |
| 42 |
| 43 Response Handler::Navigate(const std::string& url, |
| 44 FrameId* frame_id) { |
| 45 return Response::FallThrough(); |
| 46 } |
| 47 |
| 48 Response Handler::GetNavigationHistory(int* current_index, |
| 49 std::vector<NavigationEntry>* entries) { |
| 50 return Response::FallThrough(); |
| 51 } |
| 52 |
| 53 Response Handler::NavigateToHistoryEntry(int entry_id) { |
| 54 return Response::FallThrough(); |
| 55 } |
| 56 |
| 57 Response Handler::SetTouchEmulationEnabled(bool enabled) { |
| 58 return Response::FallThrough(); |
| 59 } |
| 60 |
| 61 Response Handler::CaptureScreenshot(std::string* data) { |
| 62 return Response::FallThrough(); |
| 63 } |
| 64 |
| 65 Response Handler::CanScreencast(bool* result) { |
| 66 return Response::FallThrough(); |
| 67 } |
| 68 |
| 69 Response Handler::CanEmulate(bool* result) { |
| 70 return Response::FallThrough(); |
| 71 } |
| 72 |
| 73 Response Handler::StartScreencast(const std::string* format, |
| 74 const int* quality, |
| 75 const int* max_width, |
| 76 const int* max_height) { |
| 77 return Response::FallThrough(); |
| 78 } |
| 79 |
| 80 Response Handler::StopScreencast() { |
| 81 return Response::FallThrough(); |
| 82 } |
| 83 |
| 84 Response Handler::HandleJavaScriptDialog(bool accept, |
| 85 const std::string* prompt_text) { |
| 86 return Response::FallThrough(); |
| 87 } |
| 88 |
| 89 Response Handler::QueryUsageAndQuota(const std::string& security_origin, |
| 90 Quota* quota, |
| 91 Usage* usage) { |
| 92 return Response::FallThrough(); |
| 93 } |
| 94 |
| 95 Response Handler::SetColorPickerEnabled(bool enabled) { |
| 96 return Response::FallThrough(); |
| 97 } |
| 98 |
| 99 } // namespace page |
| 100 } // namespace devtools |
| 101 } // namespace content |
OLD | NEW |