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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 virtual void SelectionChanged(const base::string16& text, | 90 virtual 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 virtual void SelectionBoundsChanged( | 93 virtual void SelectionBoundsChanged( |
94 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; | 94 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; |
95 virtual void CopyFromCompositingSurface( | 95 virtual void CopyFromCompositingSurface( |
96 const gfx::Rect& src_subrect, | 96 const gfx::Rect& src_subrect, |
97 const gfx::Size& dst_size, | 97 const gfx::Size& dst_size, |
98 CopyFromCompositingSurfaceCallback& callback, | 98 CopyFromCompositingSurfaceCallback& callback, |
99 const SkColorType color_type) OVERRIDE; | 99 const SkColorType color_type) OVERRIDE; |
100 virtual void AcceleratedSurfaceBuffersSwapped( | |
101 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | |
102 int gpu_host_id) OVERRIDE; | |
103 virtual void AcceleratedSurfacePostSubBuffer( | |
104 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | |
105 int gpu_host_id) OVERRIDE; | |
106 virtual void OnSwapCompositorFrame( | 100 virtual void OnSwapCompositorFrame( |
107 uint32 output_surface_id, | 101 uint32 output_surface_id, |
108 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; | 102 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; |
109 #if defined(USE_AURA) | 103 #if defined(USE_AURA) |
110 virtual void ProcessAckedTouchEvent( | 104 virtual void ProcessAckedTouchEvent( |
111 const TouchEventWithLatencyInfo& touch, | 105 const TouchEventWithLatencyInfo& touch, |
112 InputEventAckState ack_result) OVERRIDE; | 106 InputEventAckState ack_result) OVERRIDE; |
113 #endif | 107 #endif |
114 virtual bool LockMouse() OVERRIDE; | 108 virtual bool LockMouse() OVERRIDE; |
115 virtual void UnlockMouse() OVERRIDE; | 109 virtual void UnlockMouse() OVERRIDE; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 RenderWidgetHostViewBase* platform_view_; | 180 RenderWidgetHostViewBase* platform_view_; |
187 #if defined(USE_AURA) | 181 #if defined(USE_AURA) |
188 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 182 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
189 #endif | 183 #endif |
190 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 184 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
191 }; | 185 }; |
192 | 186 |
193 } // namespace content | 187 } // namespace content |
194 | 188 |
195 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 189 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |