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

Unified Diff: content/browser/renderer_host/render_widget_host_view_base.h

Issue 2317563004: Change blink::WebScreenInfo to content::ScreenInfo (Closed)
Patch Set: Fix Windows compile Created 4 years, 3 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
Index: content/browser/renderer_host/render_widget_host_view_base.h
diff --git a/content/browser/renderer_host/render_widget_host_view_base.h b/content/browser/renderer_host/render_widget_host_view_base.h
index c69e9b83e8f431881512debc6dd80b0b8a90a54f..b68718d872502f57fcabdd9e55142c91f4b3377d 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.h
+++ b/content/browser/renderer_host/render_widget_host_view_base.h
@@ -26,6 +26,7 @@
#include "content/common/input/input_event_ack_state.h"
#include "content/public/browser/readback_types.h"
#include "content/public/browser/render_widget_host_view.h"
+#include "content/public/common/screen_info.h"
#include "ipc/ipc_listener.h"
#include "third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationType.h"
#include "third_party/WebKit/public/web/WebPopupType.h"
@@ -49,7 +50,6 @@ class VideoFrame;
}
namespace blink {
-struct WebScreenInfo;
class WebMouseEvent;
class WebMouseWheelEvent;
}
@@ -368,11 +368,11 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) = 0;
// Compute the orientation type of the display assuming it is a mobile device.
- static blink::WebScreenOrientationType GetOrientationTypeForMobile(
+ static ScreenOrientationValues GetOrientationTypeForMobile(
const display::Display& display);
// Compute the orientation type of the display assuming it is a desktop.
- static blink::WebScreenOrientationType GetOrientationTypeForDesktop(
+ static ScreenOrientationValues GetOrientationTypeForDesktop(
const display::Display& display);
// Gets the bounds of the window, in screen coordinates.

Powered by Google App Engine
This is Rietveld 408576698