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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <string> 10 #include <string>
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 void OnMsgImeCancelComposition(); 488 void OnMsgImeCancelComposition();
489 489
490 void OnMsgGpuRenderingActivated(bool activated); 490 void OnMsgGpuRenderingActivated(bool activated);
491 491
492 #if defined(OS_MACOSX) 492 #if defined(OS_MACOSX)
493 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); 493 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params);
494 void OnMsgGetScreenInfo(gfx::NativeViewId view, 494 void OnMsgGetScreenInfo(gfx::NativeViewId view,
495 WebKit::WebScreenInfo* results); 495 WebKit::WebScreenInfo* results);
496 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); 496 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results);
497 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); 497 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results);
498 void OnAllocateFakePluginWindowHandle(bool opaque, 498 void OnAllocateFakePluginWindowHandle(
499 bool root, 499 bool opaque,
500 gfx::PluginWindowHandle* id); 500 bool can_draw_transparent,
501 bool root,
502 gfx::PluginWindowHandle* id);
501 void OnDestroyFakePluginWindowHandle(gfx::PluginWindowHandle id); 503 void OnDestroyFakePluginWindowHandle(gfx::PluginWindowHandle id);
502 void OnAcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, 504 void OnAcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window,
503 int32 width, 505 int32 width,
504 int32 height, 506 int32 height,
505 uint64 mach_port); 507 uint64 mach_port);
506 void OnAcceleratedSurfaceSetTransportDIB(gfx::PluginWindowHandle window, 508 void OnAcceleratedSurfaceSetTransportDIB(gfx::PluginWindowHandle window,
507 int32 width, 509 int32 width,
508 int32 height, 510 int32 height,
509 TransportDIB::Handle transport_dib); 511 TransportDIB::Handle transport_dib);
510 void OnAcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window); 512 void OnAcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window);
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 // we don't do it more than once. 695 // we don't do it more than once.
694 bool requested_accessibility_tree_; 696 bool requested_accessibility_tree_;
695 697
696 // Optional video YUV layer for used for out-of-process compositing. 698 // Optional video YUV layer for used for out-of-process compositing.
697 scoped_ptr<VideoLayer> video_layer_; 699 scoped_ptr<VideoLayer> video_layer_;
698 700
699 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); 701 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost);
700 }; 702 };
701 703
702 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 704 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698