| 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 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 | 9 |
| 10 #include "app/surface/transport_dib.h" | 10 #include "app/surface/transport_dib.h" |
| (...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 438 void OnMsgInputEventAck(const IPC::Message& message); | 438 void OnMsgInputEventAck(const IPC::Message& message); |
| 439 void OnMsgFocus(); | 439 void OnMsgFocus(); |
| 440 void OnMsgBlur(); | 440 void OnMsgBlur(); |
| 441 virtual void OnMsgFocusedNodeChanged(); | 441 virtual void OnMsgFocusedNodeChanged(); |
| 442 | 442 |
| 443 void OnMsgSetCursor(const WebCursor& cursor); | 443 void OnMsgSetCursor(const WebCursor& cursor); |
| 444 // Using int instead of ViewHostMsg_ImeControl for control's type to avoid | 444 // Using int instead of ViewHostMsg_ImeControl for control's type to avoid |
| 445 // having to bring in render_messages.h in a header file. | 445 // having to bring in render_messages.h in a header file. |
| 446 void OnMsgImeUpdateStatus(int control, const gfx::Rect& caret_rect); | 446 void OnMsgImeUpdateStatus(int control, const gfx::Rect& caret_rect); |
| 447 | 447 |
| 448 // Renderer process is requesting that the browser process establish a GPU | |
| 449 // channel. | |
| 450 void OnMsgEstablishGpuChannel(); | |
| 451 | |
| 452 #if defined(OS_LINUX) | 448 #if defined(OS_LINUX) |
| 453 void OnMsgCreatePluginContainer(gfx::PluginWindowHandle id); | 449 void OnMsgCreatePluginContainer(gfx::PluginWindowHandle id); |
| 454 void OnMsgDestroyPluginContainer(gfx::PluginWindowHandle id); | 450 void OnMsgDestroyPluginContainer(gfx::PluginWindowHandle id); |
| 455 #elif defined(OS_MACOSX) | 451 #elif defined(OS_MACOSX) |
| 456 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); | 452 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); |
| 457 void OnMsgGetScreenInfo(gfx::NativeViewId view, | 453 void OnMsgGetScreenInfo(gfx::NativeViewId view, |
| 458 WebKit::WebScreenInfo* results); | 454 WebKit::WebScreenInfo* results); |
| 459 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); | 455 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); |
| 460 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); | 456 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); |
| 461 void OnAllocateFakePluginWindowHandle(gfx::PluginWindowHandle* id); | 457 void OnAllocateFakePluginWindowHandle(gfx::PluginWindowHandle* id); |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 631 // changed. | 627 // changed. |
| 632 bool suppress_next_char_events_; | 628 bool suppress_next_char_events_; |
| 633 | 629 |
| 634 // Optional video YUV layer for used for out-of-process compositing. | 630 // Optional video YUV layer for used for out-of-process compositing. |
| 635 scoped_ptr<VideoLayer> video_layer_; | 631 scoped_ptr<VideoLayer> video_layer_; |
| 636 | 632 |
| 637 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); | 633 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); |
| 638 }; | 634 }; |
| 639 | 635 |
| 640 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 636 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
| OLD | NEW |