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 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 void OnMsgImeCancelComposition(); | 492 void OnMsgImeCancelComposition(); |
493 | 493 |
494 void OnMsgGpuRenderingActivated(bool activated); | 494 void OnMsgGpuRenderingActivated(bool activated); |
495 | 495 |
496 #if defined(OS_MACOSX) | 496 #if defined(OS_MACOSX) |
497 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); | 497 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); |
498 void OnMsgGetScreenInfo(gfx::NativeViewId view, | 498 void OnMsgGetScreenInfo(gfx::NativeViewId view, |
499 WebKit::WebScreenInfo* results); | 499 WebKit::WebScreenInfo* results); |
500 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); | 500 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); |
501 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); | 501 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); |
| 502 void OnMsgSetPluginImeEnabled(bool enabled, int plugin_id); |
502 void OnAllocateFakePluginWindowHandle(bool opaque, | 503 void OnAllocateFakePluginWindowHandle(bool opaque, |
503 bool root, | 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, |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
689 // changed. | 690 // changed. |
690 bool suppress_next_char_events_; | 691 bool suppress_next_char_events_; |
691 | 692 |
692 // Optional video YUV layer for used for out-of-process compositing. | 693 // Optional video YUV layer for used for out-of-process compositing. |
693 scoped_ptr<VideoLayer> video_layer_; | 694 scoped_ptr<VideoLayer> video_layer_; |
694 | 695 |
695 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); | 696 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); |
696 }; | 697 }; |
697 | 698 |
698 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 699 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
OLD | NEW |