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 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 | 522 |
523 // IPC message handlers | 523 // IPC message handlers |
524 void OnMsgRenderViewReady(); | 524 void OnMsgRenderViewReady(); |
525 void OnMsgRenderViewGone(int status, int error_code); | 525 void OnMsgRenderViewGone(int status, int error_code); |
526 void OnMsgClose(); | 526 void OnMsgClose(); |
527 void OnMsgRequestMove(const gfx::Rect& pos); | 527 void OnMsgRequestMove(const gfx::Rect& pos); |
528 void OnMsgSetTooltipText(const string16& tooltip_text, | 528 void OnMsgSetTooltipText(const string16& tooltip_text, |
529 WebKit::WebTextDirection text_direction_hint); | 529 WebKit::WebTextDirection text_direction_hint); |
530 void OnMsgPaintAtSizeAck(int tag, const gfx::Size& size); | 530 void OnMsgPaintAtSizeAck(int tag, const gfx::Size& size); |
531 void OnMsgUpdateRect(const ViewHostMsg_UpdateRect_Params& params); | 531 void OnMsgUpdateRect(const ViewHostMsg_UpdateRect_Params& params); |
| 532 void OnMsgUpdateIsDelayed(); |
532 void OnMsgInputEventAck(WebKit::WebInputEvent::Type event_type, | 533 void OnMsgInputEventAck(WebKit::WebInputEvent::Type event_type, |
533 bool processed); | 534 bool processed); |
534 virtual void OnMsgFocus(); | 535 virtual void OnMsgFocus(); |
535 virtual void OnMsgBlur(); | 536 virtual void OnMsgBlur(); |
536 | 537 |
537 void OnMsgSetCursor(const WebCursor& cursor); | 538 void OnMsgSetCursor(const WebCursor& cursor); |
538 void OnMsgTextInputStateChanged(ui::TextInputType type, | 539 void OnMsgTextInputStateChanged(ui::TextInputType type, |
539 bool can_compose_inline); | 540 bool can_compose_inline); |
540 void OnMsgImeCompositionRangeChanged(const ui::Range& range); | 541 void OnMsgImeCompositionRangeChanged(const ui::Range& range); |
541 void OnMsgImeCancelComposition(); | 542 void OnMsgImeCancelComposition(); |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
767 gfx::Point last_scroll_offset_; | 768 gfx::Point last_scroll_offset_; |
768 | 769 |
769 bool pending_mouse_lock_request_; | 770 bool pending_mouse_lock_request_; |
770 | 771 |
771 base::WeakPtrFactory<RenderWidgetHost> weak_factory_; | 772 base::WeakPtrFactory<RenderWidgetHost> weak_factory_; |
772 | 773 |
773 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); | 774 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); |
774 }; | 775 }; |
775 | 776 |
776 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 777 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
OLD | NEW |