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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 // RenderWidgetHostViewBase implementation. | 93 // RenderWidgetHostViewBase implementation. |
94 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 94 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
95 const gfx::Rect& bounds) override; | 95 const gfx::Rect& bounds) override; |
96 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; | 96 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; |
97 void UpdateCursor(const WebCursor& cursor) override; | 97 void UpdateCursor(const WebCursor& cursor) override; |
98 void SetIsLoading(bool is_loading) override; | 98 void SetIsLoading(bool is_loading) override; |
99 void RenderProcessGone(base::TerminationStatus status, | 99 void RenderProcessGone(base::TerminationStatus status, |
100 int error_code) override; | 100 int error_code) override; |
101 void Destroy() override; | 101 void Destroy() override; |
102 void SetTooltipText(const base::string16& tooltip_text) override; | 102 void SetTooltipText(const base::string16& tooltip_text) override; |
103 void SelectionChanged(const base::string16& text, | |
104 size_t offset, | |
105 const gfx::Range& range) override; | |
106 void CopyFromCompositingSurface( | 103 void CopyFromCompositingSurface( |
107 const gfx::Rect& src_subrect, | 104 const gfx::Rect& src_subrect, |
108 const gfx::Size& dst_size, | 105 const gfx::Size& dst_size, |
109 const ReadbackRequestCallback& callback, | 106 const ReadbackRequestCallback& callback, |
110 const SkColorType preferred_color_type) override; | 107 const SkColorType preferred_color_type) override; |
111 void CopyFromCompositingSurfaceToVideoFrame( | 108 void CopyFromCompositingSurfaceToVideoFrame( |
112 const gfx::Rect& src_subrect, | 109 const gfx::Rect& src_subrect, |
113 const scoped_refptr<media::VideoFrame>& target, | 110 const scoped_refptr<media::VideoFrame>& target, |
114 const base::Callback<void(const gfx::Rect&, bool)>& callback) override; | 111 const base::Callback<void(const gfx::Rect&, bool)>& callback) override; |
115 bool CanCopyToVideoFrame() const override; | 112 bool CanCopyToVideoFrame() const override; |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 // The surface client ID of the parent RenderWidgetHostView. 0 if none. | 234 // The surface client ID of the parent RenderWidgetHostView. 0 if none. |
238 uint32_t parent_surface_client_id_; | 235 uint32_t parent_surface_client_id_; |
239 | 236 |
240 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; | 237 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; |
241 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 238 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
242 }; | 239 }; |
243 | 240 |
244 } // namespace content | 241 } // namespace content |
245 | 242 |
246 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 243 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
OLD | NEW |