OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_RENDERER_DEVTOOLS_RENDER_WIDGET_SCREEN_METRICS_EMULATOR_H_ | 5 #ifndef CONTENT_RENDERER_DEVTOOLS_RENDER_WIDGET_SCREEN_METRICS_EMULATOR_H_ |
6 #define CONTENT_RENDERER_DEVTOOLS_RENDER_WIDGET_SCREEN_METRICS_EMULATOR_H_ | 6 #define CONTENT_RENDERER_DEVTOOLS_RENDER_WIDGET_SCREEN_METRICS_EMULATOR_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include <memory> |
| 9 |
9 #include "content/common/resize_params.h" | 10 #include "content/common/resize_params.h" |
10 #include "third_party/WebKit/public/web/WebDeviceEmulationParams.h" | 11 #include "third_party/WebKit/public/web/WebDeviceEmulationParams.h" |
11 | 12 |
12 namespace gfx { | 13 namespace gfx { |
13 class PointF; | 14 class PointF; |
14 class Rect; | 15 class Rect; |
15 } | 16 } |
16 | 17 |
17 namespace content { | 18 namespace content { |
18 | 19 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 ResizeParams original_resize_params_; | 81 ResizeParams original_resize_params_; |
81 gfx::Rect original_view_screen_rect_; | 82 gfx::Rect original_view_screen_rect_; |
82 gfx::Rect original_window_screen_rect_; | 83 gfx::Rect original_window_screen_rect_; |
83 | 84 |
84 DISALLOW_COPY_AND_ASSIGN(RenderWidgetScreenMetricsEmulator); | 85 DISALLOW_COPY_AND_ASSIGN(RenderWidgetScreenMetricsEmulator); |
85 }; | 86 }; |
86 | 87 |
87 } // namespace content | 88 } // namespace content |
88 | 89 |
89 #endif // CONTENT_RENDERER_DEVTOOLS_RENDER_WIDGET_SCREEN_METRICS_EMULATOR_H_ | 90 #endif // CONTENT_RENDERER_DEVTOOLS_RENDER_WIDGET_SCREEN_METRICS_EMULATOR_H_ |
OLD | NEW |