OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 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/emulation_handler.h" |
| 6 |
| 7 namespace content { |
| 8 namespace devtools { |
| 9 namespace emulation { |
| 10 |
| 11 using Response = DevToolsProtocolClient::Response; |
| 12 |
| 13 EmulationHandler::EmulationHandler() { |
| 14 } |
| 15 |
| 16 EmulationHandler::~EmulationHandler() { |
| 17 } |
| 18 |
| 19 void EmulationHandler::SetClient(scoped_ptr<DevToolsProtocolClient> client) { |
| 20 } |
| 21 |
| 22 Response EmulationHandler::SetGeolocationOverride( |
| 23 double* latitude, double* longitude, double* accuracy) { |
| 24 return Response::InternalError("Not implemented"); |
| 25 } |
| 26 |
| 27 Response EmulationHandler::ClearGeolocationOverride() { |
| 28 return Response::InternalError("Not implemented"); |
| 29 } |
| 30 |
| 31 Response EmulationHandler::SetTouchEmulationEnabled( |
| 32 bool enabled, const std::string* configuration) { |
| 33 return Response::InternalError("Not implemented"); |
| 34 } |
| 35 |
| 36 Response EmulationHandler::CanEmulate(bool* result) { |
| 37 return Response::InternalError("Not implemented"); |
| 38 } |
| 39 |
| 40 Response EmulationHandler::SetDeviceMetricsOverride( |
| 41 int width, int height, double device_scale_factor, bool mobile, |
| 42 bool fit_window, const double* optional_scale, |
| 43 const double* optional_offset_x, const double* optional_offset_y) { |
| 44 return Response::InternalError("Not implemented"); |
| 45 } |
| 46 |
| 47 Response EmulationHandler::ClearDeviceMetricsOverride() { |
| 48 return Response::InternalError("Not implemented"); |
| 49 } |
| 50 |
| 51 } // namespace emulation |
| 52 } // namespace devtools |
| 53 } // namespace content |
OLD | NEW |