OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 #endif | 85 #endif |
86 void RenderProcessGone(base::TerminationStatus status, | 86 void RenderProcessGone(base::TerminationStatus status, |
87 int error_code) override; | 87 int error_code) override; |
88 void Destroy() override; | 88 void Destroy() override; |
89 void SetTooltipText(const base::string16& tooltip_text) override; | 89 void SetTooltipText(const base::string16& tooltip_text) override; |
90 void SelectionChanged(const base::string16& text, | 90 void SelectionChanged(const base::string16& text, |
91 size_t offset, | 91 size_t offset, |
92 const gfx::Range& range) override; | 92 const gfx::Range& range) override; |
93 void SelectionBoundsChanged( | 93 void SelectionBoundsChanged( |
94 const ViewHostMsg_SelectionBounds_Params& params) override; | 94 const ViewHostMsg_SelectionBounds_Params& params) override; |
95 void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id, | 95 void SubmitCompositorFrame(const cc::LocalSurfaceId& local_surface_id, |
96 const cc::LocalSurfaceId& local_surface_id, | |
97 cc::CompositorFrame frame) override; | 96 cc::CompositorFrame frame) override; |
98 #if defined(USE_AURA) | 97 #if defined(USE_AURA) |
99 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, | 98 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, |
100 InputEventAckState ack_result) override; | 99 InputEventAckState ack_result) override; |
101 #endif | 100 #endif |
102 void ProcessMouseEvent(const blink::WebMouseEvent& event, | 101 void ProcessMouseEvent(const blink::WebMouseEvent& event, |
103 const ui::LatencyInfo& latency) override; | 102 const ui::LatencyInfo& latency) override; |
104 void ProcessTouchEvent(const blink::WebTouchEvent& event, | 103 void ProcessTouchEvent(const blink::WebTouchEvent& event, |
105 const ui::LatencyInfo& latency) override; | 104 const ui::LatencyInfo& latency) override; |
106 | 105 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 // The guest may forward its updates only when there is an ongoing IME | 166 // The guest may forward its updates only when there is an ongoing IME |
168 // session. | 167 // session. |
169 bool should_forward_text_selection_; | 168 bool should_forward_text_selection_; |
170 | 169 |
171 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 170 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
172 }; | 171 }; |
173 | 172 |
174 } // namespace content | 173 } // namespace content |
175 | 174 |
176 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 175 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |