| 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 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 487 virtual void OnMsgBlur(); | 487 virtual void OnMsgBlur(); |
| 488 | 488 |
| 489 void OnMsgSetCursor(const WebCursor& cursor); | 489 void OnMsgSetCursor(const WebCursor& cursor); |
| 490 void OnMsgImeUpdateTextInputState(WebKit::WebTextInputType type, | 490 void OnMsgImeUpdateTextInputState(WebKit::WebTextInputType type, |
| 491 const gfx::Rect& caret_rect); | 491 const gfx::Rect& caret_rect); |
| 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); | |
| 498 void OnMsgGetScreenInfo(gfx::NativeViewId view, | 497 void OnMsgGetScreenInfo(gfx::NativeViewId view, |
| 499 WebKit::WebScreenInfo* results); | 498 WebKit::WebScreenInfo* results); |
| 500 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); | 499 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); |
| 501 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); | 500 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); |
| 502 void OnMsgSetPluginImeEnabled(bool enabled, int plugin_id); | 501 void OnMsgSetPluginImeEnabled(bool enabled, int plugin_id); |
| 503 void OnAllocateFakePluginWindowHandle(bool opaque, | 502 void OnAllocateFakePluginWindowHandle(bool opaque, |
| 504 bool root, | 503 bool root, |
| 505 gfx::PluginWindowHandle* id); | 504 gfx::PluginWindowHandle* id); |
| 506 void OnDestroyFakePluginWindowHandle(gfx::PluginWindowHandle id); | 505 void OnDestroyFakePluginWindowHandle(gfx::PluginWindowHandle id); |
| 507 void OnAcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, | 506 void OnAcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 690 // changed. | 689 // changed. |
| 691 bool suppress_next_char_events_; | 690 bool suppress_next_char_events_; |
| 692 | 691 |
| 693 // Optional video YUV layer for used for out-of-process compositing. | 692 // Optional video YUV layer for used for out-of-process compositing. |
| 694 scoped_ptr<VideoLayer> video_layer_; | 693 scoped_ptr<VideoLayer> video_layer_; |
| 695 | 694 |
| 696 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); | 695 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); |
| 697 }; | 696 }; |
| 698 | 697 |
| 699 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 698 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
| OLD | NEW |