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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 class WebFrameWidget; | 68 class WebFrameWidget; |
69 class WebGestureEvent; | 69 class WebGestureEvent; |
70 class WebLocalFrame; | 70 class WebLocalFrame; |
71 class WebMouseEvent; | 71 class WebMouseEvent; |
72 class WebNode; | 72 class WebNode; |
73 struct WebPoint; | 73 struct WebPoint; |
74 } | 74 } |
75 | 75 |
76 namespace cc { | 76 namespace cc { |
77 class CompositorFrameSink; | 77 class CompositorFrameSink; |
| 78 class FrameSinkId; |
78 class SwapPromise; | 79 class SwapPromise; |
79 } | 80 } |
80 | 81 |
81 namespace gfx { | 82 namespace gfx { |
82 class Range; | 83 class Range; |
83 } | 84 } |
84 | 85 |
85 namespace ui { | 86 namespace ui { |
86 struct DidOverscrollParams; | 87 struct DidOverscrollParams; |
87 } | 88 } |
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 virtual void OnDeviceScaleFactorChanged(); | 502 virtual void OnDeviceScaleFactorChanged(); |
502 | 503 |
503 void OnRepaint(gfx::Size size_to_paint); | 504 void OnRepaint(gfx::Size size_to_paint); |
504 void OnSyntheticGestureCompleted(); | 505 void OnSyntheticGestureCompleted(); |
505 void OnSetTextDirection(blink::WebTextDirection direction); | 506 void OnSetTextDirection(blink::WebTextDirection direction); |
506 void OnGetFPS(); | 507 void OnGetFPS(); |
507 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, | 508 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, |
508 const gfx::Rect& window_screen_rect); | 509 const gfx::Rect& window_screen_rect); |
509 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); | 510 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); |
510 void OnShowImeIfNeeded(); | 511 void OnShowImeIfNeeded(); |
511 void OnSetSurfaceClientId(uint32_t surface_id_namespace); | 512 void OnSetFrameSinkId(const cc::FrameSinkId& frame_sink_id); |
512 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); | 513 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); |
513 | 514 |
514 #if defined(OS_ANDROID) | 515 #if defined(OS_ANDROID) |
515 // Called when we send IME event that expects an ACK. | 516 // Called when we send IME event that expects an ACK. |
516 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); | 517 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); |
517 | 518 |
518 // Called by the browser process for every required IME acknowledgement. | 519 // Called by the browser process for every required IME acknowledgement. |
519 void OnImeEventAck(); | 520 void OnImeEventAck(); |
520 | 521 |
521 // Called by the browser process to update text input state. | 522 // Called by the browser process to update text input state. |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
822 // Stores edit commands associated to the next key event. | 823 // Stores edit commands associated to the next key event. |
823 // Will be cleared as soon as the next key event is processed. | 824 // Will be cleared as soon as the next key event is processed. |
824 EditCommands edit_commands_; | 825 EditCommands edit_commands_; |
825 | 826 |
826 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 827 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
827 }; | 828 }; |
828 | 829 |
829 } // namespace content | 830 } // namespace content |
830 | 831 |
831 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 832 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |