| 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_RENDERER_RENDER_WIDGET_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ |
| 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ | 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 void OnCreatingNewAck(); | 498 void OnCreatingNewAck(); |
| 499 virtual void OnResize(const ResizeParams& params); | 499 virtual void OnResize(const ResizeParams& params); |
| 500 void OnEnableDeviceEmulation(const blink::WebDeviceEmulationParams& params); | 500 void OnEnableDeviceEmulation(const blink::WebDeviceEmulationParams& params); |
| 501 void OnDisableDeviceEmulation(); | 501 void OnDisableDeviceEmulation(); |
| 502 virtual void OnWasHidden(); | 502 virtual void OnWasHidden(); |
| 503 virtual void OnWasShown(bool needs_repainting, | 503 virtual void OnWasShown(bool needs_repainting, |
| 504 const ui::LatencyInfo& latency_info); | 504 const ui::LatencyInfo& latency_info); |
| 505 void OnCreateVideoAck(int32_t video_id); | 505 void OnCreateVideoAck(int32_t video_id); |
| 506 void OnUpdateVideoAck(int32_t video_id); | 506 void OnUpdateVideoAck(int32_t video_id); |
| 507 void OnRequestMoveAck(); | 507 void OnRequestMoveAck(); |
| 508 // Request from browser to show context menu. |
| 509 virtual void OnShowContextMenu(ui::MenuSourceType source_type, |
| 510 const gfx::Point& location); |
| 508 virtual void OnImeSetComposition( | 511 virtual void OnImeSetComposition( |
| 509 const base::string16& text, | 512 const base::string16& text, |
| 510 const std::vector<blink::WebCompositionUnderline>& underlines, | 513 const std::vector<blink::WebCompositionUnderline>& underlines, |
| 511 const gfx::Range& replacement_range, | 514 const gfx::Range& replacement_range, |
| 512 int selection_start, | 515 int selection_start, |
| 513 int selection_end); | 516 int selection_end); |
| 514 virtual void OnImeCommitText( | 517 virtual void OnImeCommitText( |
| 515 const base::string16& text, | 518 const base::string16& text, |
| 516 const std::vector<blink::WebCompositionUnderline>& underlines, | 519 const std::vector<blink::WebCompositionUnderline>& underlines, |
| 517 const gfx::Range& replacement_range, | 520 const gfx::Range& replacement_range, |
| (...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 885 scoped_refptr<MainThreadEventQueue> input_event_queue_; | 888 scoped_refptr<MainThreadEventQueue> input_event_queue_; |
| 886 | 889 |
| 887 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; | 890 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; |
| 888 | 891 |
| 889 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 892 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 890 }; | 893 }; |
| 891 | 894 |
| 892 } // namespace content | 895 } // namespace content |
| 893 | 896 |
| 894 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 897 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |