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