OLD | NEW |
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 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 #if defined(OS_LINUX) | 494 #if defined(OS_LINUX) |
495 void OnMsgCreatePluginContainer(gfx::PluginWindowHandle id); | 495 void OnMsgCreatePluginContainer(gfx::PluginWindowHandle id); |
496 void OnMsgDestroyPluginContainer(gfx::PluginWindowHandle id); | 496 void OnMsgDestroyPluginContainer(gfx::PluginWindowHandle id); |
497 #elif defined(OS_MACOSX) | 497 #elif defined(OS_MACOSX) |
498 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); | 498 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); |
499 void OnMsgGetScreenInfo(gfx::NativeViewId view, | 499 void OnMsgGetScreenInfo(gfx::NativeViewId view, |
500 WebKit::WebScreenInfo* results); | 500 WebKit::WebScreenInfo* results); |
501 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); | 501 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); |
502 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); | 502 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); |
503 void OnAllocateFakePluginWindowHandle(bool opaque, | 503 void OnAllocateFakePluginWindowHandle(bool opaque, |
| 504 bool root, |
504 gfx::PluginWindowHandle* id); | 505 gfx::PluginWindowHandle* id); |
505 void OnDestroyFakePluginWindowHandle(gfx::PluginWindowHandle id); | 506 void OnDestroyFakePluginWindowHandle(gfx::PluginWindowHandle id); |
506 void OnAcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, | 507 void OnAcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, |
507 int32 width, | 508 int32 width, |
508 int32 height, | 509 int32 height, |
509 uint64 mach_port); | 510 uint64 mach_port); |
510 void OnAcceleratedSurfaceSetTransportDIB(gfx::PluginWindowHandle window, | 511 void OnAcceleratedSurfaceSetTransportDIB(gfx::PluginWindowHandle window, |
511 int32 width, | 512 int32 width, |
512 int32 height, | 513 int32 height, |
513 TransportDIB::Handle transport_dib); | 514 TransportDIB::Handle transport_dib); |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
694 // we don't do it more than once. | 695 // we don't do it more than once. |
695 bool requested_accessibility_tree_; | 696 bool requested_accessibility_tree_; |
696 | 697 |
697 // Optional video YUV layer for used for out-of-process compositing. | 698 // Optional video YUV layer for used for out-of-process compositing. |
698 scoped_ptr<VideoLayer> video_layer_; | 699 scoped_ptr<VideoLayer> video_layer_; |
699 | 700 |
700 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); | 701 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); |
701 }; | 702 }; |
702 | 703 |
703 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 704 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
OLD | NEW |