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

Unified Diff: content/browser/web_contents/web_contents_view.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/web_contents/web_contents_view.h
diff --git a/content/browser/web_contents/web_contents_view.h b/content/browser/web_contents/web_contents_view.h
index 090ea993d21ceaafa7621611556a09508146e905..e4401f85bf3f6c18dfa9bcfd76ed3a6e24a723ef 100644
--- a/content/browser/web_contents/web_contents_view.h
+++ b/content/browser/web_contents/web_contents_view.h
@@ -14,15 +14,12 @@
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/native_widget_types.h"
-namespace blink {
- struct WebScreenInfo;
-}
-
namespace content {
class RenderViewHost;
class RenderWidgetHost;
class RenderWidgetHostViewBase;
struct DropData;
+struct ScreenInfo;
// The WebContentsView is an interface that is implemented by the platform-
// dependent web contents views. The WebContents uses this interface to talk to
@@ -44,10 +41,10 @@ class WebContentsView {
virtual gfx::NativeWindow GetTopLevelNativeWindow() const = 0;
// The following static method is implemented by each platform.
- static void GetDefaultScreenInfo(blink::WebScreenInfo* results);
+ static void GetDefaultScreenInfo(ScreenInfo* results);
// Gets screen information for the window associated with this view.
- virtual void GetScreenInfo(blink::WebScreenInfo* web_screen_info) const = 0;
+ virtual void GetScreenInfo(ScreenInfo* screen_info) const = 0;
// Computes the rectangle for the native widget that contains the contents of
// the tab in the screen coordinate system.

Powered by Google App Engine
This is Rietveld 408576698