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

Side by Side Diff: content/port/browser/render_widget_host_view_port.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_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 5 #ifndef CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/process_util.h" 9 #include "base/process_util.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; 248 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0;
249 #endif // defined(TOOLKIT_GTK) 249 #endif // defined(TOOLKIT_GTK)
250 250
251 #if defined(OS_WIN) && !defined(USE_AURA) 251 #if defined(OS_WIN) && !defined(USE_AURA)
252 virtual void WillWmDestroy() = 0; 252 virtual void WillWmDestroy() = 0;
253 #endif 253 #endif
254 254
255 #if defined(OS_POSIX) || defined(USE_AURA) 255 #if defined(OS_POSIX) || defined(USE_AURA)
256 static void GetDefaultScreenInfo( 256 static void GetDefaultScreenInfo(
257 WebKit::WebScreenInfo* results); 257 WebKit::WebScreenInfo* results);
258 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) = 0;
259 #endif 258 #endif
260 259
261 // Gets the bounds of the window, in screen coordinates. 260 // Gets the bounds of the window, in screen coordinates.
262 virtual gfx::Rect GetBoundsInRootWindow() = 0; 261 virtual gfx::Rect GetBoundsInRootWindow() = 0;
263 262
264 virtual gfx::GLSurfaceHandle GetCompositingSurface() = 0; 263 virtual gfx::GLSurfaceHandle GetCompositingSurface() = 0;
265 264
266 // Because the associated remote WebKit instance can asynchronously 265 // Because the associated remote WebKit instance can asynchronously
267 // prevent-default on a dispatched touch event, the touch events are queued in 266 // prevent-default on a dispatched touch event, the touch events are queued in
268 // the GestureRecognizer until invocation of ProcessAckedTouchEvent releases 267 // the GestureRecognizer until invocation of ProcessAckedTouchEvent releases
(...skipping 21 matching lines...) Expand all
290 virtual BrowserAccessibilityManager* 289 virtual BrowserAccessibilityManager*
291 GetBrowserAccessibilityManager() const = 0; 290 GetBrowserAccessibilityManager() const = 0;
292 virtual void OnAccessibilityNotifications( 291 virtual void OnAccessibilityNotifications(
293 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { 292 const std::vector<AccessibilityHostMsg_NotificationParams>& params) {
294 } 293 }
295 }; 294 };
296 295
297 } // namespace content 296 } // namespace content
298 297
299 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 298 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698