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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 void ImeCompositionRangeChanged( | 84 void ImeCompositionRangeChanged( |
85 const gfx::Range& range, | 85 const gfx::Range& range, |
86 const std::vector<gfx::Rect>& character_bounds) override; | 86 const std::vector<gfx::Rect>& character_bounds) override; |
87 #endif | 87 #endif |
88 void RenderProcessGone(base::TerminationStatus status, | 88 void RenderProcessGone(base::TerminationStatus status, |
89 int error_code) override; | 89 int error_code) override; |
90 void Destroy() override; | 90 void Destroy() override; |
91 void SetTooltipText(const base::string16& tooltip_text) override; | 91 void SetTooltipText(const base::string16& tooltip_text) override; |
92 void SelectionChanged(const base::string16& text, | 92 void SelectionChanged(const base::string16& text, |
93 size_t offset, | 93 size_t offset, |
94 const gfx::Range& range) override; | 94 const gfx::Range& range, |
| 95 bool user_initiated) override; |
95 void SelectionBoundsChanged( | 96 void SelectionBoundsChanged( |
96 const ViewHostMsg_SelectionBounds_Params& params) override; | 97 const ViewHostMsg_SelectionBounds_Params& params) override; |
97 void SubmitCompositorFrame(const viz::LocalSurfaceId& local_surface_id, | 98 void SubmitCompositorFrame(const viz::LocalSurfaceId& local_surface_id, |
98 cc::CompositorFrame frame) override; | 99 cc::CompositorFrame frame) override; |
99 #if defined(USE_AURA) | 100 #if defined(USE_AURA) |
100 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, | 101 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, |
101 InputEventAckState ack_result) override; | 102 InputEventAckState ack_result) override; |
102 #endif | 103 #endif |
103 void ProcessMouseEvent(const blink::WebMouseEvent& event, | 104 void ProcessMouseEvent(const blink::WebMouseEvent& event, |
104 const ui::LatencyInfo& latency) override; | 105 const ui::LatencyInfo& latency) override; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 // The guest may forward its updates only when there is an ongoing IME | 175 // The guest may forward its updates only when there is an ongoing IME |
175 // session. | 176 // session. |
176 bool should_forward_text_selection_; | 177 bool should_forward_text_selection_; |
177 | 178 |
178 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 179 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
179 }; | 180 }; |
180 | 181 |
181 } // namespace content | 182 } // namespace content |
182 | 183 |
183 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 184 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |