| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 589 void OnRenderProcessGone(int status, int error_code); | 589 void OnRenderProcessGone(int status, int error_code); |
| 590 void OnClose(); | 590 void OnClose(); |
| 591 void OnUpdateScreenRectsAck(); | 591 void OnUpdateScreenRectsAck(); |
| 592 void OnRequestMove(const gfx::Rect& pos); | 592 void OnRequestMove(const gfx::Rect& pos); |
| 593 void OnSetTooltipText(const base::string16& tooltip_text, | 593 void OnSetTooltipText(const base::string16& tooltip_text, |
| 594 blink::WebTextDirection text_direction_hint); | 594 blink::WebTextDirection text_direction_hint); |
| 595 bool OnSwapCompositorFrame(const IPC::Message& message); | 595 bool OnSwapCompositorFrame(const IPC::Message& message); |
| 596 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); | 596 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); |
| 597 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet); | 597 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet); |
| 598 virtual void OnFocus(); | 598 virtual void OnFocus(); |
| 599 virtual void OnBlur(); | |
| 600 void OnSetCursor(const WebCursor& cursor); | 599 void OnSetCursor(const WebCursor& cursor); |
| 601 void OnTextInputStateChanged( | 600 void OnTextInputStateChanged( |
| 602 const ViewHostMsg_TextInputState_Params& params); | 601 const ViewHostMsg_TextInputState_Params& params); |
| 603 | 602 |
| 604 void OnImeCompositionRangeChanged( | 603 void OnImeCompositionRangeChanged( |
| 605 const gfx::Range& range, | 604 const gfx::Range& range, |
| 606 const std::vector<gfx::Rect>& character_bounds); | 605 const std::vector<gfx::Rect>& character_bounds); |
| 607 void OnImeCancelComposition(); | 606 void OnImeCancelComposition(); |
| 608 void OnLockMouse(bool user_gesture, | 607 void OnLockMouse(bool user_gesture, |
| 609 bool last_unlocked_by_target, | 608 bool last_unlocked_by_target, |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 841 bool is_focused_; | 840 bool is_focused_; |
| 842 | 841 |
| 843 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 842 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
| 844 | 843 |
| 845 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 844 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 846 }; | 845 }; |
| 847 | 846 |
| 848 } // namespace content | 847 } // namespace content |
| 849 | 848 |
| 850 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 849 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |