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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view_mac.h

Issue 3176027: Mac: Well-behaved accelerated plugins, actual fix (Closed)
Patch Set: test Created 10 years, 4 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 #import <QuartzCore/CALayer.h> 10 #import <QuartzCore/CALayer.h>
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 virtual void SetWindowVisibility(bool visible); 215 virtual void SetWindowVisibility(bool visible);
216 virtual void WindowFrameChanged(); 216 virtual void WindowFrameChanged();
217 virtual void SetBackground(const SkBitmap& background); 217 virtual void SetBackground(const SkBitmap& background);
218 virtual bool ContainsNativeView(gfx::NativeView native_view) const; 218 virtual bool ContainsNativeView(gfx::NativeView native_view) const;
219 virtual void UpdateAccessibilityTree( 219 virtual void UpdateAccessibilityTree(
220 const webkit_glue::WebAccessibility& tree); 220 const webkit_glue::WebAccessibility& tree);
221 virtual void OnAccessibilityFocusChange(int acc_obj_id); 221 virtual void OnAccessibilityFocusChange(int acc_obj_id);
222 virtual void OnAccessibilityObjectStateChange(int acc_obj_id); 222 virtual void OnAccessibilityObjectStateChange(int acc_obj_id);
223 // Methods associated with GPU-accelerated plug-in instances and the 223 // Methods associated with GPU-accelerated plug-in instances and the
224 // accelerated compositor. 224 // accelerated compositor.
225 virtual gfx::PluginWindowHandle AllocateFakePluginWindowHandle(bool opaque, 225 gfx::PluginWindowHandle AllocateFakePluginWindowHandle(
226 bool root); 226 bool opaque, bool can_draw_transparent, bool root);
227 virtual void DestroyFakePluginWindowHandle(gfx::PluginWindowHandle window); 227 virtual void DestroyFakePluginWindowHandle(gfx::PluginWindowHandle window);
228 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, 228 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window,
229 int32 width, 229 int32 width,
230 int32 height, 230 int32 height,
231 uint64 io_surface_identifier); 231 uint64 io_surface_identifier);
232 virtual void AcceleratedSurfaceSetTransportDIB( 232 virtual void AcceleratedSurfaceSetTransportDIB(
233 gfx::PluginWindowHandle window, 233 gfx::PluginWindowHandle window,
234 int32 width, 234 int32 width,
235 int32 height, 235 int32 height,
236 TransportDIB::Handle transport_dib); 236 TransportDIB::Handle transport_dib);
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 // Whether or not web accessibility is enabled. 331 // Whether or not web accessibility is enabled.
332 bool renderer_accessible_; 332 bool renderer_accessible_;
333 333
334 // selected text on the renderer. 334 // selected text on the renderer.
335 std::string selected_text_; 335 std::string selected_text_;
336 336
337 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 337 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
338 }; 338 };
339 339
340 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 340 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698