| 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_CHILD_FRAME_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "content/browser/renderer_host/render_widget_host_view_base.h" | 9 #include "content/browser/renderer_host/render_widget_host_view_base.h" |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 virtual void SelectionChanged(const base::string16& text, | 87 virtual void SelectionChanged(const base::string16& text, |
| 88 size_t offset, | 88 size_t offset, |
| 89 const gfx::Range& range) OVERRIDE; | 89 const gfx::Range& range) OVERRIDE; |
| 90 virtual void SelectionBoundsChanged( | 90 virtual void SelectionBoundsChanged( |
| 91 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; | 91 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; |
| 92 virtual void ScrollOffsetChanged() OVERRIDE; | 92 virtual void ScrollOffsetChanged() OVERRIDE; |
| 93 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 93 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
| 94 virtual void CopyFromCompositingSurface( | 94 virtual void CopyFromCompositingSurface( |
| 95 const gfx::Rect& src_subrect, | 95 const gfx::Rect& src_subrect, |
| 96 const gfx::Size& dst_size, | 96 const gfx::Size& dst_size, |
| 97 const base::Callback<void(bool, const SkBitmap&)>& callback, | 97 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; |
| 98 bool readback_config_rgb565) OVERRIDE; | |
| 99 virtual void CopyFromCompositingSurfaceToVideoFrame( | 98 virtual void CopyFromCompositingSurfaceToVideoFrame( |
| 100 const gfx::Rect& src_subrect, | 99 const gfx::Rect& src_subrect, |
| 101 const scoped_refptr<media::VideoFrame>& target, | 100 const scoped_refptr<media::VideoFrame>& target, |
| 102 const base::Callback<void(bool)>& callback) OVERRIDE; | 101 const base::Callback<void(bool)>& callback) OVERRIDE; |
| 103 virtual bool CanCopyToVideoFrame() const OVERRIDE; | 102 virtual bool CanCopyToVideoFrame() const OVERRIDE; |
| 104 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | 103 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; |
| 105 virtual void AcceleratedSurfaceInitialized(int host_id, | 104 virtual void AcceleratedSurfaceInitialized(int host_id, |
| 106 int route_id) OVERRIDE; | 105 int route_id) OVERRIDE; |
| 107 virtual void AcceleratedSurfaceBuffersSwapped( | 106 virtual void AcceleratedSurfaceBuffersSwapped( |
| 108 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 107 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 | 179 |
| 181 gfx::Size size_; | 180 gfx::Size size_; |
| 182 | 181 |
| 183 private: | 182 private: |
| 184 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 183 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
| 185 }; | 184 }; |
| 186 | 185 |
| 187 } // namespace content | 186 } // namespace content |
| 188 | 187 |
| 189 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 188 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
| OLD | NEW |