summaryrefslogtreecommitdiff
path: root/chromium/content/browser/renderer_host/display_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/renderer_host/display_util.h')
-rw-r--r--chromium/content/browser/renderer_host/display_util.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/chromium/content/browser/renderer_host/display_util.h b/chromium/content/browser/renderer_host/display_util.h
index 796cda75ce8..4aeb901878b 100644
--- a/chromium/content/browser/renderer_host/display_util.h
+++ b/chromium/content/browser/renderer_host/display_util.h
@@ -6,7 +6,7 @@
#define CONTENT_BROWSER_RENDERER_HOST_DISPLAY_UTIL_H_
#include "content/common/content_export.h"
-#include "content/public/common/screen_info.h"
+#include "third_party/blink/public/common/widget/screen_info.h"
#include "ui/display/display.h"
#include "ui/gfx/native_widget_types.h"
@@ -14,20 +14,20 @@ namespace content {
class CONTENT_EXPORT DisplayUtil {
public:
- static void DisplayToScreenInfo(ScreenInfo* screen_info,
+ static void DisplayToScreenInfo(blink::ScreenInfo* screen_info,
const display::Display& display);
- static void GetNativeViewScreenInfo(ScreenInfo* screen_info,
+ static void GetNativeViewScreenInfo(blink::ScreenInfo* screen_info,
gfx::NativeView native_view);
- static void GetDefaultScreenInfo(ScreenInfo* screen_info);
+ static void GetDefaultScreenInfo(blink::ScreenInfo* screen_info);
// Compute the orientation type of the display assuming it is a mobile device.
- static ScreenOrientationValues GetOrientationTypeForMobile(
+ static blink::mojom::ScreenOrientation GetOrientationTypeForMobile(
const display::Display& display);
// Compute the orientation type of the display assuming it is a desktop.
- static ScreenOrientationValues GetOrientationTypeForDesktop(
+ static blink::mojom::ScreenOrientation GetOrientationTypeForDesktop(
const display::Display& display);
};