| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 virtual void Destroy() OVERRIDE; | 91 virtual void Destroy() OVERRIDE; |
| 92 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; | 92 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; |
| 93 virtual void SelectionChanged(const base::string16& text, | 93 virtual void SelectionChanged(const base::string16& text, |
| 94 size_t offset, | 94 size_t offset, |
| 95 const gfx::Range& range) OVERRIDE; | 95 const gfx::Range& range) OVERRIDE; |
| 96 virtual void SelectionBoundsChanged( | 96 virtual void SelectionBoundsChanged( |
| 97 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; | 97 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; |
| 98 virtual void CopyFromCompositingSurface( | 98 virtual void CopyFromCompositingSurface( |
| 99 const gfx::Rect& src_subrect, | 99 const gfx::Rect& src_subrect, |
| 100 const gfx::Size& dst_size, | 100 const gfx::Size& dst_size, |
| 101 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; | 101 const base::Callback<void(bool, const SkBitmap&)>& callback, |
| 102 bool readback_config_rgb565) OVERRIDE; |
| 102 virtual void AcceleratedSurfaceBuffersSwapped( | 103 virtual void AcceleratedSurfaceBuffersSwapped( |
| 103 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 104 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
| 104 int gpu_host_id) OVERRIDE; | 105 int gpu_host_id) OVERRIDE; |
| 105 virtual void AcceleratedSurfacePostSubBuffer( | 106 virtual void AcceleratedSurfacePostSubBuffer( |
| 106 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | 107 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, |
| 107 int gpu_host_id) OVERRIDE; | 108 int gpu_host_id) OVERRIDE; |
| 108 virtual void OnSwapCompositorFrame( | 109 virtual void OnSwapCompositorFrame( |
| 109 uint32 output_surface_id, | 110 uint32 output_surface_id, |
| 110 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; | 111 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; |
| 111 virtual void SetHasHorizontalScrollbar( | 112 virtual void SetHasHorizontalScrollbar( |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 RenderWidgetHostViewPort* platform_view_; | 187 RenderWidgetHostViewPort* platform_view_; |
| 187 #if defined(OS_WIN) || defined(USE_AURA) | 188 #if defined(OS_WIN) || defined(USE_AURA) |
| 188 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 189 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
| 189 #endif // defined(OS_WIN) || defined(USE_AURA) | 190 #endif // defined(OS_WIN) || defined(USE_AURA) |
| 190 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 191 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
| 191 }; | 192 }; |
| 192 | 193 |
| 193 } // namespace content | 194 } // namespace content |
| 194 | 195 |
| 195 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 196 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
| OLD | NEW |