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 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" | 5 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" |
6 | 6 |
7 #include "content/browser/frame_host/cross_process_frame_connector.h" | 7 #include "content/browser/frame_host/cross_process_frame_connector.h" |
8 #include "content/browser/renderer_host/render_widget_host_impl.h" | 8 #include "content/browser/renderer_host/render_widget_host_impl.h" |
9 #include "content/common/gpu/gpu_messages.h" | 9 #include "content/common/gpu/gpu_messages.h" |
10 #include "content/common/view_messages.h" | 10 #include "content/common/view_messages.h" |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 void RenderWidgetHostViewChildFrame::SelectionChanged( | 188 void RenderWidgetHostViewChildFrame::SelectionChanged( |
189 const base::string16& text, | 189 const base::string16& text, |
190 size_t offset, | 190 size_t offset, |
191 const gfx::Range& range) { | 191 const gfx::Range& range) { |
192 } | 192 } |
193 | 193 |
194 void RenderWidgetHostViewChildFrame::SelectionBoundsChanged( | 194 void RenderWidgetHostViewChildFrame::SelectionBoundsChanged( |
195 const ViewHostMsg_SelectionBounds_Params& params) { | 195 const ViewHostMsg_SelectionBounds_Params& params) { |
196 } | 196 } |
197 | 197 |
| 198 #if defined(OS_ANDROID) |
| 199 void RenderWidgetHostViewChildFrame::SelectionRootBoundsChanged( |
| 200 const gfx::Rect& bounds) { |
| 201 } |
| 202 #endif |
| 203 |
198 void RenderWidgetHostViewChildFrame::ScrollOffsetChanged() { | 204 void RenderWidgetHostViewChildFrame::ScrollOffsetChanged() { |
199 } | 205 } |
200 | 206 |
201 void RenderWidgetHostViewChildFrame::OnAcceleratedCompositingStateChange() { | 207 void RenderWidgetHostViewChildFrame::OnAcceleratedCompositingStateChange() { |
202 } | 208 } |
203 | 209 |
204 void RenderWidgetHostViewChildFrame::AcceleratedSurfaceInitialized(int host_id, | 210 void RenderWidgetHostViewChildFrame::AcceleratedSurfaceInitialized(int host_id, |
205 int route_id) { | 211 int route_id) { |
206 } | 212 } |
207 | 213 |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 const { | 370 const { |
365 return NULL; | 371 return NULL; |
366 } | 372 } |
367 #endif // defined(OS_WIN) | 373 #endif // defined(OS_WIN) |
368 | 374 |
369 SkBitmap::Config RenderWidgetHostViewChildFrame::PreferredReadbackFormat() { | 375 SkBitmap::Config RenderWidgetHostViewChildFrame::PreferredReadbackFormat() { |
370 return SkBitmap::kARGB_8888_Config; | 376 return SkBitmap::kARGB_8888_Config; |
371 } | 377 } |
372 | 378 |
373 } // namespace content | 379 } // namespace content |
OLD | NEW |