| Index: content/browser/devtools/page_domain_handler.cc
|
| diff --git a/content/browser/devtools/page_domain_handler.cc b/content/browser/devtools/page_domain_handler.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c02f30fd59afb6f1d0b3c87284679787e44e629d
|
| --- /dev/null
|
| +++ b/content/browser/devtools/page_domain_handler.cc
|
| @@ -0,0 +1,103 @@
|
| +// 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/page_domain_handler.h"
|
| +
|
| +namespace content {
|
| +namespace devtools {
|
| +
|
| +typedef DevToolsProtocolFrontend::Response Response;
|
| +typedef DevToolsProtocolFrontend::ResponseStatus ResponseStatus;
|
| +
|
| +PageDomainHandler::PageDomainHandler() {
|
| +}
|
| +
|
| +PageDomainHandler::~PageDomainHandler() {
|
| +}
|
| +
|
| +void PageDomainHandler::OnClientDetached() {
|
| +}
|
| +
|
| +void PageDomainHandler::SetRenderViewHost(RenderViewHostImpl* host) {
|
| +}
|
| +
|
| +void PageDomainHandler::SetFrontend(scoped_ptr<PageDomainFrontend> frontend) {
|
| +}
|
| +
|
| +Response PageDomainHandler::Enable() {
|
| + return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
|
| +}
|
| +
|
| +Response PageDomainHandler::Disable() {
|
| + return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
|
| +}
|
| +
|
| +Response PageDomainHandler::Reload(
|
| + const bool* ignoreCache,
|
| + const std::string* script_to_evaluate_on_load,
|
| + const std::string* script_preprocessor) {
|
| + return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
|
| +}
|
| +
|
| +Response PageDomainHandler::Navigate(const std::string& url,
|
| + devtools::PageFrameId* frame_id) {
|
| + return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
|
| +}
|
| +
|
| +Response PageDomainHandler::GetNavigationHistory(
|
| + int* current_index,
|
| + std::vector<devtools::PageNavigationEntry>* entries) {
|
| + return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
|
| +}
|
| +
|
| +Response PageDomainHandler::NavigateToHistoryEntry(int entry_id) {
|
| + return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
|
| +}
|
| +
|
| +Response PageDomainHandler::SetTouchEmulationEnabled(bool enabled) {
|
| + return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
|
| +}
|
| +
|
| +Response PageDomainHandler::CaptureScreenshot(std::string* data) {
|
| + return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
|
| +}
|
| +
|
| +Response PageDomainHandler::CanScreencast(bool* result) {
|
| + return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
|
| +}
|
| +
|
| +Response PageDomainHandler::CanEmulate(bool* result) {
|
| + return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
|
| +}
|
| +
|
| +Response PageDomainHandler::StartScreencast(const std::string* format,
|
| + const int* quality,
|
| + const int* max_width,
|
| + const int* max_height) {
|
| + return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
|
| +}
|
| +
|
| +Response PageDomainHandler::StopScreencast() {
|
| + return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
|
| +}
|
| +
|
| +Response PageDomainHandler::HandleJavaScriptDialog(
|
| + bool accept,
|
| + const std::string* prompt_text) {
|
| + return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
|
| +}
|
| +
|
| +Response PageDomainHandler::QueryUsageAndQuota(
|
| + const std::string& security_origin,
|
| + devtools::PageQuota* quota,
|
| + devtools::PageUsage* usage) {
|
| + return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
|
| +}
|
| +
|
| +Response PageDomainHandler::SetColorPickerEnabled(bool enabled) {
|
| + return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
|
| +}
|
| +
|
| +} // namespace devtools
|
| +} // namespace content
|
|
|