| 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 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 440 const ui::LatencyInfo& latency_info, | 440 const ui::LatencyInfo& latency_info, |
| 441 InputEventDispatchType dispatch_type); | 441 InputEventDispatchType dispatch_type); |
| 442 void OnCursorVisibilityChange(bool is_visible); | 442 void OnCursorVisibilityChange(bool is_visible); |
| 443 void OnMouseCaptureLost(); | 443 void OnMouseCaptureLost(); |
| 444 virtual void OnSetFocus(bool enable); | 444 virtual void OnSetFocus(bool enable); |
| 445 void OnClose(); | 445 void OnClose(); |
| 446 void OnCreatingNewAck(); | 446 void OnCreatingNewAck(); |
| 447 virtual void OnResize(const ResizeParams& params); | 447 virtual void OnResize(const ResizeParams& params); |
| 448 void OnEnableDeviceEmulation(const blink::WebDeviceEmulationParams& params); | 448 void OnEnableDeviceEmulation(const blink::WebDeviceEmulationParams& params); |
| 449 void OnDisableDeviceEmulation(); | 449 void OnDisableDeviceEmulation(); |
| 450 void OnColorProfile(const std::vector<char>& color_profile); | |
| 451 void OnChangeResizeRect(const gfx::Rect& resizer_rect); | 450 void OnChangeResizeRect(const gfx::Rect& resizer_rect); |
| 452 virtual void OnWasHidden(); | 451 virtual void OnWasHidden(); |
| 453 virtual void OnWasShown(bool needs_repainting, | 452 virtual void OnWasShown(bool needs_repainting, |
| 454 const ui::LatencyInfo& latency_info); | 453 const ui::LatencyInfo& latency_info); |
| 455 void OnCreateVideoAck(int32_t video_id); | 454 void OnCreateVideoAck(int32_t video_id); |
| 456 void OnUpdateVideoAck(int32_t video_id); | 455 void OnUpdateVideoAck(int32_t video_id); |
| 457 void OnRequestMoveAck(); | 456 void OnRequestMoveAck(); |
| 458 virtual void OnImeSetComposition( | 457 virtual void OnImeSetComposition( |
| 459 const base::string16& text, | 458 const base::string16& text, |
| 460 const std::vector<blink::WebCompositionUnderline>& underlines, | 459 const std::vector<blink::WebCompositionUnderline>& underlines, |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 775 | 774 |
| 776 // Indicates whether this widget has focus. | 775 // Indicates whether this widget has focus. |
| 777 bool has_focus_; | 776 bool has_focus_; |
| 778 | 777 |
| 779 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 778 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 780 }; | 779 }; |
| 781 | 780 |
| 782 } // namespace content | 781 } // namespace content |
| 783 | 782 |
| 784 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 783 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |