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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 host_->SetView(nullptr); | 285 host_->SetView(nullptr); |
286 host_ = nullptr; | 286 host_ = nullptr; |
287 base::ThreadTaskRunnerHandle::Get()->DeleteSoon(FROM_HERE, this); | 287 base::ThreadTaskRunnerHandle::Get()->DeleteSoon(FROM_HERE, this); |
288 } | 288 } |
289 | 289 |
290 void RenderWidgetHostViewChildFrame::SetTooltipText( | 290 void RenderWidgetHostViewChildFrame::SetTooltipText( |
291 const base::string16& tooltip_text) { | 291 const base::string16& tooltip_text) { |
292 frame_connector_->GetRootRenderWidgetHostView()->SetTooltipText(tooltip_text); | 292 frame_connector_->GetRootRenderWidgetHostView()->SetTooltipText(tooltip_text); |
293 } | 293 } |
294 | 294 |
295 void RenderWidgetHostViewChildFrame::SelectionChanged( | |
296 const base::string16& text, | |
297 size_t offset, | |
298 const gfx::Range& range) { | |
299 } | |
300 | |
301 void RenderWidgetHostViewChildFrame::LockCompositingSurface() { | 295 void RenderWidgetHostViewChildFrame::LockCompositingSurface() { |
302 NOTIMPLEMENTED(); | 296 NOTIMPLEMENTED(); |
303 } | 297 } |
304 | 298 |
305 void RenderWidgetHostViewChildFrame::UnlockCompositingSurface() { | 299 void RenderWidgetHostViewChildFrame::UnlockCompositingSurface() { |
306 NOTIMPLEMENTED(); | 300 NOTIMPLEMENTED(); |
307 } | 301 } |
308 | 302 |
309 void RenderWidgetHostViewChildFrame::RegisterSurfaceNamespaceId() { | 303 void RenderWidgetHostViewChildFrame::RegisterSurfaceNamespaceId() { |
310 // If Destroy() has been called before we get here, host_ may be null. | 304 // If Destroy() has been called before we get here, host_ may be null. |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
677 | 671 |
678 bool RenderWidgetHostViewChildFrame::IsChildFrameForTesting() const { | 672 bool RenderWidgetHostViewChildFrame::IsChildFrameForTesting() const { |
679 return true; | 673 return true; |
680 } | 674 } |
681 | 675 |
682 cc::SurfaceId RenderWidgetHostViewChildFrame::SurfaceIdForTesting() const { | 676 cc::SurfaceId RenderWidgetHostViewChildFrame::SurfaceIdForTesting() const { |
683 return surface_id_; | 677 return surface_id_; |
684 }; | 678 }; |
685 | 679 |
686 } // namespace content | 680 } // namespace content |
OLD | NEW |