| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 void ImeCompositionRangeChanged( | 99 void ImeCompositionRangeChanged( |
| 100 const gfx::Range& range, | 100 const gfx::Range& range, |
| 101 const std::vector<gfx::Rect>& character_bounds) override; | 101 const std::vector<gfx::Rect>& character_bounds) override; |
| 102 void RenderProcessGone(base::TerminationStatus status, | 102 void RenderProcessGone(base::TerminationStatus status, |
| 103 int error_code) override; | 103 int error_code) override; |
| 104 void Destroy() override; | 104 void Destroy() override; |
| 105 void SetTooltipText(const base::string16& tooltip_text) override; | 105 void SetTooltipText(const base::string16& tooltip_text) override; |
| 106 void SelectionChanged(const base::string16& text, | 106 void SelectionChanged(const base::string16& text, |
| 107 size_t offset, | 107 size_t offset, |
| 108 const gfx::Range& range) override; | 108 const gfx::Range& range) override; |
| 109 void SelectionBoundsChanged( | |
| 110 const ViewHostMsg_SelectionBounds_Params& params) override; | |
| 111 void CopyFromCompositingSurface( | 109 void CopyFromCompositingSurface( |
| 112 const gfx::Rect& src_subrect, | 110 const gfx::Rect& src_subrect, |
| 113 const gfx::Size& dst_size, | 111 const gfx::Size& dst_size, |
| 114 const ReadbackRequestCallback& callback, | 112 const ReadbackRequestCallback& callback, |
| 115 const SkColorType preferred_color_type) override; | 113 const SkColorType preferred_color_type) override; |
| 116 void CopyFromCompositingSurfaceToVideoFrame( | 114 void CopyFromCompositingSurfaceToVideoFrame( |
| 117 const gfx::Rect& src_subrect, | 115 const gfx::Rect& src_subrect, |
| 118 const scoped_refptr<media::VideoFrame>& target, | 116 const scoped_refptr<media::VideoFrame>& target, |
| 119 const base::Callback<void(const gfx::Rect&, bool)>& callback) override; | 117 const base::Callback<void(const gfx::Rect&, bool)>& callback) override; |
| 120 bool CanCopyToVideoFrame() const override; | 118 bool CanCopyToVideoFrame() const override; |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 // The surface id namespace of the parent RenderWidgetHostView. 0 if none. | 242 // The surface id namespace of the parent RenderWidgetHostView. 0 if none. |
| 245 uint32_t parent_surface_id_namespace_; | 243 uint32_t parent_surface_id_namespace_; |
| 246 | 244 |
| 247 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; | 245 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; |
| 248 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 246 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
| 249 }; | 247 }; |
| 250 | 248 |
| 251 } // namespace content | 249 } // namespace content |
| 252 | 250 |
| 253 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 251 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
| OLD | NEW |