| 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 <algorithm> | 7 #include <algorithm> |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 const base::string16& tooltip_text) { | 290 const base::string16& tooltip_text) { |
| 291 frame_connector_->GetRootRenderWidgetHostView()->SetTooltipText(tooltip_text); | 291 frame_connector_->GetRootRenderWidgetHostView()->SetTooltipText(tooltip_text); |
| 292 } | 292 } |
| 293 | 293 |
| 294 void RenderWidgetHostViewChildFrame::SelectionChanged( | 294 void RenderWidgetHostViewChildFrame::SelectionChanged( |
| 295 const base::string16& text, | 295 const base::string16& text, |
| 296 size_t offset, | 296 size_t offset, |
| 297 const gfx::Range& range) { | 297 const gfx::Range& range) { |
| 298 } | 298 } |
| 299 | 299 |
| 300 void RenderWidgetHostViewChildFrame::SelectionBoundsChanged( | |
| 301 const ViewHostMsg_SelectionBounds_Params& params) { | |
| 302 } | |
| 303 | |
| 304 void RenderWidgetHostViewChildFrame::LockCompositingSurface() { | 300 void RenderWidgetHostViewChildFrame::LockCompositingSurface() { |
| 305 NOTIMPLEMENTED(); | 301 NOTIMPLEMENTED(); |
| 306 } | 302 } |
| 307 | 303 |
| 308 void RenderWidgetHostViewChildFrame::UnlockCompositingSurface() { | 304 void RenderWidgetHostViewChildFrame::UnlockCompositingSurface() { |
| 309 NOTIMPLEMENTED(); | 305 NOTIMPLEMENTED(); |
| 310 } | 306 } |
| 311 | 307 |
| 312 void RenderWidgetHostViewChildFrame::RegisterSurfaceNamespaceId() { | 308 void RenderWidgetHostViewChildFrame::RegisterSurfaceNamespaceId() { |
| 313 // If Destroy() has been called before we get here, host_ may be null. | 309 // If Destroy() has been called before we get here, host_ may be null. |
| (...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 688 | 684 |
| 689 bool RenderWidgetHostViewChildFrame::IsChildFrameForTesting() const { | 685 bool RenderWidgetHostViewChildFrame::IsChildFrameForTesting() const { |
| 690 return true; | 686 return true; |
| 691 } | 687 } |
| 692 | 688 |
| 693 cc::SurfaceId RenderWidgetHostViewChildFrame::SurfaceIdForTesting() const { | 689 cc::SurfaceId RenderWidgetHostViewChildFrame::SurfaceIdForTesting() const { |
| 694 return surface_id_; | 690 return surface_id_; |
| 695 }; | 691 }; |
| 696 | 692 |
| 697 } // namespace content | 693 } // namespace content |
| OLD | NEW |