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

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

Issue 1927463002: Rename gfx::Display/Screen to display::Display/Screen in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 b71919be1a8908098029acdfd844cd110275dc28..8eb96897ecc8dc2feca83d74474372a6cdcf1550 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.h
+++ b/content/browser/renderer_host/render_widget_host_view_base.h
@@ -31,7 +31,7 @@
#include "third_party/WebKit/public/web/WebTextDirection.h"
#include "ui/base/ime/text_input_mode.h"
#include "ui/base/ime/text_input_type.h"
-#include "ui/gfx/display.h"
+#include "ui/display/display.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/range/range.h"
@@ -333,11 +333,11 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
// Compute the orientation type of the display assuming it is a mobile device.
static blink::WebScreenOrientationType GetOrientationTypeForMobile(
- const gfx::Display& display);
+ const display::Display& display);
// Compute the orientation type of the display assuming it is a desktop.
static blink::WebScreenOrientationType GetOrientationTypeForDesktop(
- const gfx::Display& display);
+ const display::Display& display);
virtual void GetScreenInfo(blink::WebScreenInfo* results) = 0;
virtual bool GetScreenColorProfile(std::vector<char>* color_profile) = 0;
@@ -417,7 +417,7 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
float current_device_scale_factor_;
// The orientation of the display the renderer is currently on.
- gfx::Display::Rotation current_display_rotation_;
+ display::Display::Rotation current_display_rotation_;
// Whether pinch-to-zoom should be enabled and pinch events forwarded to the
// renderer.

Powered by Google App Engine
This is Rietveld 408576698