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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 #endif | 86 #endif |
87 void RenderProcessGone(base::TerminationStatus status, | 87 void RenderProcessGone(base::TerminationStatus status, |
88 int error_code) override; | 88 int error_code) override; |
89 void Destroy() override; | 89 void Destroy() override; |
90 void SetTooltipText(const base::string16& tooltip_text) override; | 90 void SetTooltipText(const base::string16& tooltip_text) override; |
91 void SelectionChanged(const base::string16& text, | 91 void SelectionChanged(const base::string16& text, |
92 size_t offset, | 92 size_t offset, |
93 const gfx::Range& range) override; | 93 const gfx::Range& range) override; |
94 void SelectionBoundsChanged( | 94 void SelectionBoundsChanged( |
95 const ViewHostMsg_SelectionBounds_Params& params) override; | 95 const ViewHostMsg_SelectionBounds_Params& params) override; |
96 void OnSwapCompositorFrame(uint32_t output_surface_id, | 96 void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id, |
97 cc::CompositorFrame frame) override; | 97 cc::CompositorFrame frame) override; |
98 #if defined(USE_AURA) | 98 #if defined(USE_AURA) |
99 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, | 99 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, |
100 InputEventAckState ack_result) override; | 100 InputEventAckState ack_result) override; |
101 #endif | 101 #endif |
102 void ProcessMouseEvent(const blink::WebMouseEvent& event, | 102 void ProcessMouseEvent(const blink::WebMouseEvent& event, |
103 const ui::LatencyInfo& latency) override; | 103 const ui::LatencyInfo& latency) override; |
104 void ProcessTouchEvent(const blink::WebTouchEvent& event, | 104 void ProcessTouchEvent(const blink::WebTouchEvent& event, |
105 const ui::LatencyInfo& latency) override; | 105 const ui::LatencyInfo& latency) override; |
106 | 106 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 // The platform view for this RenderWidgetHostView. | 153 // The platform view for this RenderWidgetHostView. |
154 // RenderWidgetHostViewGuest mostly only cares about stuff related to | 154 // RenderWidgetHostViewGuest mostly only cares about stuff related to |
155 // compositing, the rest are directly forwarded to this |platform_view_|. | 155 // compositing, the rest are directly forwarded to this |platform_view_|. |
156 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; | 156 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; |
157 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 157 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
158 }; | 158 }; |
159 | 159 |
160 } // namespace content | 160 } // namespace content |
161 | 161 |
162 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 162 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |