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

Side by Side Diff: content/port/browser/render_widget_host_view_port.h

Issue 10052018: Drop frontbuffers with ui-use-gpu-process, synchronized with browser, decoupled from backbuffer dro… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renaming messages. Updated the other platforms. Created 8 years, 7 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 | Annotate | Revision Log
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 #pragma once 7 #pragma once
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/process_util.h" 10 #include "base/process_util.h"
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 TransportDIB::Handle transport_dib) = 0; 217 TransportDIB::Handle transport_dib) = 0;
218 #endif 218 #endif
219 219
220 #if defined(USE_AURA) 220 #if defined(USE_AURA)
221 virtual void AcceleratedSurfaceNew( 221 virtual void AcceleratedSurfaceNew(
222 int32 width, 222 int32 width,
223 int32 height, 223 int32 height,
224 uint64* surface_id, 224 uint64* surface_id,
225 TransportDIB::Handle* surface_handle) = 0; 225 TransportDIB::Handle* surface_handle) = 0;
226 virtual void AcceleratedSurfaceRelease(uint64 surface_id) = 0; 226 virtual void AcceleratedSurfaceRelease(uint64 surface_id) = 0;
227 virtual void AcceleratedSurfaceSuggestDiscard(uint64 surface_id,
228 int32 route_id,
229 int gpu_host_id) = 0;
227 #endif 230 #endif
228 231
229 #if defined(TOOLKIT_GTK) 232 #if defined(TOOLKIT_GTK)
230 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; 233 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0;
231 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; 234 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0;
232 #endif // defined(TOOLKIT_GTK) 235 #endif // defined(TOOLKIT_GTK)
233 236
234 #if defined(OS_WIN) && !defined(USE_AURA) 237 #if defined(OS_WIN) && !defined(USE_AURA)
235 virtual void WillWmDestroy() = 0; 238 virtual void WillWmDestroy() = 0;
236 #endif 239 #endif
(...skipping 27 matching lines...) Expand all
264 virtual BrowserAccessibilityManager* 267 virtual BrowserAccessibilityManager*
265 GetBrowserAccessibilityManager() const = 0; 268 GetBrowserAccessibilityManager() const = 0;
266 virtual void OnAccessibilityNotifications( 269 virtual void OnAccessibilityNotifications(
267 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { 270 const std::vector<AccessibilityHostMsg_NotificationParams>& params) {
268 } 271 }
269 }; 272 };
270 273
271 } // namespace content 274 } // namespace content
272 275
273 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 276 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698