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

Unified Diff: content/public/browser/render_widget_host_view.h

Issue 11970002: Added Client-Hints. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Nit Created 7 years, 11 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/public/browser/render_widget_host_view.h
diff --git a/content/public/browser/render_widget_host_view.h b/content/public/browser/render_widget_host_view.h
index 6d348f72e84fc364fc7fc7243084c4da233661a3..a2f185eedc0abe7f8ff5f7967de81bca5fd9f62e 100644
--- a/content/public/browser/render_widget_host_view.h
+++ b/content/public/browser/render_widget_host_view.h
@@ -8,9 +8,10 @@
#include "base/basictypes.h"
#include "base/string16.h"
#include "content/common/content_export.h"
+#include "third_party/WebKit/Source/Platform/chromium/public/WebScreenInfo.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkRegion.h"
-#include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
#include "ui/gfx/native_widget_types.h"
#if defined(TOOLKIT_GTK)
@@ -165,6 +166,10 @@ class CONTENT_EXPORT RenderWidgetHostView {
virtual void UnlockMouse() = 0;
// Returns true if the mouse pointer is currently locked.
virtual bool IsMouseLocked() = 0;
+
+#if defined(OS_POSIX) || defined(USE_AURA)
+ virtual void GetScreenInfo(WebKit::WebScreenInfo* results) = 0;
+#endif
};
} // namespace content
« chrome/browser/net/client_hints.cc ('K') | « content/port/browser/render_widget_host_view_port.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698