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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 #include "third_party/WebKit/Source/Platform/chromium/public/WebScreenInfo.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
11 #include "third_party/skia/include/core/SkBitmap.h" 13 #include "third_party/skia/include/core/SkBitmap.h"
12 #include "third_party/skia/include/core/SkRegion.h" 14 #include "third_party/skia/include/core/SkRegion.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
14 #include "ui/gfx/native_widget_types.h" 15 #include "ui/gfx/native_widget_types.h"
15 16
16 #if defined(TOOLKIT_GTK) 17 #if defined(TOOLKIT_GTK)
17 #include <gdk/gdk.h> 18 #include <gdk/gdk.h>
18 #endif 19 #endif
19 20
20 class GURL; 21 class GURL;
21 22
22 namespace gfx { 23 namespace gfx {
23 class Rect; 24 class Rect;
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 #if defined(OS_WIN) && !defined(USE_AURA) 159 #if defined(OS_WIN) && !defined(USE_AURA)
159 // The region specified will be transparent to mouse clicks. 160 // The region specified will be transparent to mouse clicks.
160 virtual void SetClickthroughRegion(SkRegion* region) {} 161 virtual void SetClickthroughRegion(SkRegion* region) {}
161 #endif 162 #endif
162 163
163 // Return value indicates whether the mouse is locked successfully or not. 164 // Return value indicates whether the mouse is locked successfully or not.
164 virtual bool LockMouse() = 0; 165 virtual bool LockMouse() = 0;
165 virtual void UnlockMouse() = 0; 166 virtual void UnlockMouse() = 0;
166 // Returns true if the mouse pointer is currently locked. 167 // Returns true if the mouse pointer is currently locked.
167 virtual bool IsMouseLocked() = 0; 168 virtual bool IsMouseLocked() = 0;
169
170 #if defined(OS_POSIX) || defined(USE_AURA)
171 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) = 0;
172 #endif
168 }; 173 };
169 174
170 } // namespace content 175 } // namespace content
171 176
172 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_ 177 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_
OLDNEW
« 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