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

Side by Side Diff: content/browser/devtools/page_domain_handler.cc

Issue 508973003: DevTools: Protocol handler generator for content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
(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/page_domain_handler.h"
6
7 namespace content {
8 namespace devtools {
9
10 typedef DevToolsProtocolFrontend::Response Response;
11 typedef DevToolsProtocolFrontend::ResponseStatus ResponseStatus;
12
13 PageDomainHandler::PageDomainHandler() {
14 }
15
16 PageDomainHandler::~PageDomainHandler() {
17 }
18
19 void PageDomainHandler::OnClientDetached() {
20 }
21
22 void PageDomainHandler::SetRenderViewHost(RenderViewHostImpl* host) {
23 }
24
25 void PageDomainHandler::SetFrontend(scoped_ptr<PageDomainFrontend> frontend) {
26 }
27
28 Response PageDomainHandler::Enable() {
29 return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
30 }
31
32 Response PageDomainHandler::Disable() {
33 return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
34 }
35
36 Response PageDomainHandler::Reload(
37 const bool* ignoreCache,
38 const std::string* script_to_evaluate_on_load,
39 const std::string* script_preprocessor) {
40 return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
41 }
42
43 Response PageDomainHandler::Navigate(const std::string& url,
44 devtools::PageFrameId* frame_id) {
45 return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
46 }
47
48 Response PageDomainHandler::GetNavigationHistory(
49 int* current_index,
50 std::vector<devtools::PageNavigationEntry>* entries) {
51 return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
52 }
53
54 Response PageDomainHandler::NavigateToHistoryEntry(int entry_id) {
55 return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
56 }
57
58 Response PageDomainHandler::SetTouchEmulationEnabled(bool enabled) {
59 return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
60 }
61
62 Response PageDomainHandler::CaptureScreenshot(std::string* data) {
63 return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
64 }
65
66 Response PageDomainHandler::CanScreencast(bool* result) {
67 return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
68 }
69
70 Response PageDomainHandler::CanEmulate(bool* result) {
71 return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
72 }
73
74 Response PageDomainHandler::StartScreencast(const std::string* format,
75 const int* quality,
76 const int* max_width,
77 const int* max_height) {
78 return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
79 }
80
81 Response PageDomainHandler::StopScreencast() {
82 return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
83 }
84
85 Response PageDomainHandler::HandleJavaScriptDialog(
86 bool accept,
87 const std::string* prompt_text) {
88 return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
89 }
90
91 Response PageDomainHandler::QueryUsageAndQuota(
92 const std::string& security_origin,
93 devtools::PageQuota* quota,
94 devtools::PageUsage* usage) {
95 return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
96 }
97
98 Response PageDomainHandler::SetColorPickerEnabled(bool enabled) {
99 return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
100 }
101
102 } // namespace devtools
103 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698