| 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 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 | 502 |
| 503 // IPC message handlers | 503 // IPC message handlers |
| 504 void OnMsgRenderViewReady(); | 504 void OnMsgRenderViewReady(); |
| 505 void OnMsgRenderViewGone(int status, int error_code); | 505 void OnMsgRenderViewGone(int status, int error_code); |
| 506 void OnMsgClose(); | 506 void OnMsgClose(); |
| 507 void OnMsgRequestMove(const gfx::Rect& pos); | 507 void OnMsgRequestMove(const gfx::Rect& pos); |
| 508 void OnMsgSetTooltipText(const string16& tooltip_text, | 508 void OnMsgSetTooltipText(const string16& tooltip_text, |
| 509 WebKit::WebTextDirection text_direction_hint); | 509 WebKit::WebTextDirection text_direction_hint); |
| 510 void OnMsgPaintAtSizeAck(int tag, const gfx::Size& size); | 510 void OnMsgPaintAtSizeAck(int tag, const gfx::Size& size); |
| 511 void OnMsgUpdateRect(const ViewHostMsg_UpdateRect_Params& params); | 511 void OnMsgUpdateRect(const ViewHostMsg_UpdateRect_Params& params); |
| 512 void OnMsgInputEventAck(const IPC::Message& message); | 512 void OnMsgInputEventAck(WebKit::WebInputEvent::Type event_type, |
| 513 bool processed); |
| 513 virtual void OnMsgFocus(); | 514 virtual void OnMsgFocus(); |
| 514 virtual void OnMsgBlur(); | 515 virtual void OnMsgBlur(); |
| 515 | 516 |
| 516 void OnMsgSetCursor(const WebCursor& cursor); | 517 void OnMsgSetCursor(const WebCursor& cursor); |
| 517 void OnMsgImeUpdateTextInputState(ui::TextInputType type, | 518 void OnMsgImeUpdateTextInputState(ui::TextInputType type, |
| 518 bool can_compose_inline, | 519 bool can_compose_inline, |
| 519 const gfx::Rect& caret_rect); | 520 const gfx::Rect& caret_rect); |
| 520 void OnMsgImeCompositionRangeChanged(const ui::Range& range); | 521 void OnMsgImeCompositionRangeChanged(const ui::Range& range); |
| 521 void OnMsgImeCancelComposition(); | 522 void OnMsgImeCancelComposition(); |
| 522 | 523 |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 733 | 734 |
| 734 std::vector<gfx::PluginWindowHandle> deferred_plugin_handles_; | 735 std::vector<gfx::PluginWindowHandle> deferred_plugin_handles_; |
| 735 | 736 |
| 736 // The last scroll offset of the render widget. | 737 // The last scroll offset of the render widget. |
| 737 gfx::Point last_scroll_offset_; | 738 gfx::Point last_scroll_offset_; |
| 738 | 739 |
| 739 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); | 740 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); |
| 740 }; | 741 }; |
| 741 | 742 |
| 742 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 743 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
| OLD | NEW |