| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 6 #define CONTENT_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 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 virtual void OnMsgBlur(); | 453 virtual void OnMsgBlur(); |
| 454 | 454 |
| 455 void OnMsgSetCursor(const WebCursor& cursor); | 455 void OnMsgSetCursor(const WebCursor& cursor); |
| 456 void OnMsgImeUpdateTextInputState(WebKit::WebTextInputType type, | 456 void OnMsgImeUpdateTextInputState(WebKit::WebTextInputType type, |
| 457 const gfx::Rect& caret_rect); | 457 const gfx::Rect& caret_rect); |
| 458 void OnMsgImeCompositionRangeChanged(const ui::Range& range); | 458 void OnMsgImeCompositionRangeChanged(const ui::Range& range); |
| 459 void OnMsgImeCancelComposition(); | 459 void OnMsgImeCancelComposition(); |
| 460 | 460 |
| 461 void OnMsgDidActivateAcceleratedCompositing(bool activated); | 461 void OnMsgDidActivateAcceleratedCompositing(bool activated); |
| 462 | 462 |
| 463 void OnMsgPpapiPluginFocusChanged(bool focused); |
| 463 #if defined(OS_MACOSX) | 464 #if defined(OS_MACOSX) |
| 464 void OnMsgGetScreenInfo(gfx::NativeViewId view, | 465 void OnMsgGetScreenInfo(gfx::NativeViewId view, |
| 465 WebKit::WebScreenInfo* results); | 466 WebKit::WebScreenInfo* results); |
| 466 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); | 467 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); |
| 467 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); | 468 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); |
| 468 void OnMsgPluginFocusChanged(bool focused, int plugin_id); | 469 void OnMsgPluginFocusChanged(bool focused, int plugin_id); |
| 469 void OnMsgStartPluginIme(); | 470 void OnMsgStartPluginIme(); |
| 470 void OnAllocateFakePluginWindowHandle(bool opaque, | 471 void OnAllocateFakePluginWindowHandle(bool opaque, |
| 471 bool root, | 472 bool root, |
| 472 gfx::PluginWindowHandle* id); | 473 gfx::PluginWindowHandle* id); |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 651 | 652 |
| 652 std::vector<gfx::PluginWindowHandle> deferred_plugin_handles_; | 653 std::vector<gfx::PluginWindowHandle> deferred_plugin_handles_; |
| 653 | 654 |
| 654 // The last scroll offset of the render widget. | 655 // The last scroll offset of the render widget. |
| 655 gfx::Point last_scroll_offset_; | 656 gfx::Point last_scroll_offset_; |
| 656 | 657 |
| 657 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); | 658 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); |
| 658 }; | 659 }; |
| 659 | 660 |
| 660 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 661 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
| OLD | NEW |