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

Unified Diff: content/browser/devtools/protocol/page_handler.h

Issue 1019533002: [DevTools] Cleanup after moving from Page to Emulation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@emulation-domain-impl
Patch Set: rebased Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/devtools/protocol/page_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/protocol/page_handler.h
diff --git a/content/browser/devtools/protocol/page_handler.h b/content/browser/devtools/protocol/page_handler.h
index cee47594bc3ba0697595379efe35d1a98b243506..4348a4f1d08f7cac905dd698aa9672858de50ce1 100644
--- a/content/browser/devtools/protocol/page_handler.h
+++ b/content/browser/devtools/protocol/page_handler.h
@@ -12,7 +12,6 @@
#include "cc/output/compositor_frame_metadata.h"
#include "content/browser/devtools/protocol/devtools_protocol_handler.h"
#include "content/public/browser/readback_types.h"
-#include "third_party/WebKit/public/web/WebDeviceEmulationParams.h"
class SkBitmap;
@@ -64,30 +63,9 @@ class PageHandler {
Response NavigateToHistoryEntry(int entry_id);
- Response SetGeolocationOverride(double* latitude,
- double* longitude,
- double* accuracy);
-
- Response ClearGeolocationOverride();
-
- Response SetTouchEmulationEnabled(bool enabled,
- const std::string* configuration);
-
Response CaptureScreenshot(DevToolsCommandId command_id);
- Response CanEmulate(bool* result);
- Response SetDeviceMetricsOverride(int width,
- int height,
- double device_scale_factor,
- bool mobile,
- bool fit_window,
- const double* optional_scale,
- const double* optional_offset_x,
- const double* optional_offset_y);
- Response ClearDeviceMetricsOverride();
-
Response CanScreencast(bool* result);
-
Response StartScreencast(const std::string* format,
const int* quality,
const int* max_width,
@@ -107,9 +85,6 @@ class PageHandler {
Response SetColorPickerEnabled(bool enabled);
private:
- void UpdateTouchEventEmulationState();
- void UpdateDeviceEmulationState();
-
void NotifyScreencastVisibility(bool visible);
void InnerSwapCompositorFrame();
void ScreencastFrameCaptured(const cc::CompositorFrameMetadata& metadata,
@@ -131,12 +106,6 @@ class PageHandler {
bool enabled_;
- bool touch_emulation_enabled_;
- std::string touch_emulation_configuration_;
-
- bool device_emulation_enabled_;
- blink::WebDeviceEmulationParams device_emulation_params_;
-
bool screencast_enabled_;
std::string screencast_format_;
int screencast_quality_;
« no previous file with comments | « no previous file | content/browser/devtools/protocol/page_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698