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

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

Issue 11194042: Implement TextureImageTransportSurface using texture mailbox (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 float maximum_scale) = 0; 231 float maximum_scale) = 0;
232 virtual void UpdateFrameInfo(const gfx::Point& scroll_offset, 232 virtual void UpdateFrameInfo(const gfx::Point& scroll_offset,
233 float page_scale_factor, 233 float page_scale_factor,
234 const gfx::Size& content_size) = 0; 234 const gfx::Size& content_size) = 0;
235 virtual void DidSetNeedTouchEvents(bool need_touch_events) = 0; 235 virtual void DidSetNeedTouchEvents(bool need_touch_events) = 0;
236 #endif 236 #endif
237 237
238 virtual void AcceleratedSurfaceNew( 238 virtual void AcceleratedSurfaceNew(
239 int32 width_in_pixel, 239 int32 width_in_pixel,
240 int32 height_in_pixel, 240 int32 height_in_pixel,
241 uint64 surface_id) {} 241 uint64 surface_id,
242 const std::string& mailbox_name) {}
242 virtual void AcceleratedSurfaceRelease(uint64 surface_id) {} 243 virtual void AcceleratedSurfaceRelease(uint64 surface_id) {}
243 244
244 #if defined(TOOLKIT_GTK) 245 #if defined(TOOLKIT_GTK)
245 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; 246 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0;
246 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; 247 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0;
247 #endif // defined(TOOLKIT_GTK) 248 #endif // defined(TOOLKIT_GTK)
248 249
249 #if defined(OS_WIN) && !defined(USE_AURA) 250 #if defined(OS_WIN) && !defined(USE_AURA)
250 virtual void WillWmDestroy() = 0; 251 virtual void WillWmDestroy() = 0;
251 #endif 252 #endif
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 virtual BrowserAccessibilityManager* 285 virtual BrowserAccessibilityManager*
285 GetBrowserAccessibilityManager() const = 0; 286 GetBrowserAccessibilityManager() const = 0;
286 virtual void OnAccessibilityNotifications( 287 virtual void OnAccessibilityNotifications(
287 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { 288 const std::vector<AccessibilityHostMsg_NotificationParams>& params) {
288 } 289 }
289 }; 290 };
290 291
291 } // namespace content 292 } // namespace content
292 293
293 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 294 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698