| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
| 3 * 1999 Lars Knoll <knoll@kde.org> | 3 * 1999 Lars Knoll <knoll@kde.org> |
| 4 * 1999 Antti Koivisto <koivisto@kde.org> | 4 * 1999 Antti Koivisto <koivisto@kde.org> |
| 5 * 2000 Dirk Mueller <mueller@kde.org> | 5 * 2000 Dirk Mueller <mueller@kde.org> |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
| 9 * Copyright (C) 2009 Google Inc. All rights reserved. | 9 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 10 * | 10 * |
| (...skipping 4859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4870 !owner_element->GetLayoutObject()) { | 4870 !owner_element->GetLayoutObject()) { |
| 4871 // No need to notify children because descendants of display:none frames | 4871 // No need to notify children because descendants of display:none frames |
| 4872 // should remain throttled. | 4872 // should remain throttled. |
| 4873 UpdateRenderThrottlingStatus(hidden_for_throttling_, subtree_throttled_, | 4873 UpdateRenderThrottlingStatus(hidden_for_throttling_, subtree_throttled_, |
| 4874 kDontForceThrottlingInvalidation, | 4874 kDontForceThrottlingInvalidation, |
| 4875 kDontNotifyChildren); | 4875 kDontNotifyChildren); |
| 4876 } | 4876 } |
| 4877 | 4877 |
| 4878 for (Frame* child = frame_->Tree().FirstChild(); child; | 4878 for (Frame* child = frame_->Tree().FirstChild(); child; |
| 4879 child = child->Tree().NextSibling()) { | 4879 child = child->Tree().NextSibling()) { |
| 4880 if (!child->IsLocalFrame()) | 4880 if (child->IsRemoteFrame()) { |
| 4881 if (RemoteFrameView* view = ToRemoteFrame(child)->View()) |
| 4882 view->UpdateRemoteViewportIntersection(); |
| 4881 continue; | 4883 continue; |
| 4884 } |
| 4882 if (FrameView* view = ToLocalFrame(child)->View()) | 4885 if (FrameView* view = ToLocalFrame(child)->View()) |
| 4883 view->UpdateViewportIntersectionsForSubtree(target_state); | 4886 view->UpdateViewportIntersectionsForSubtree(target_state); |
| 4884 } | 4887 } |
| 4885 } | 4888 } |
| 4886 | 4889 |
| 4887 void FrameView::UpdateRenderThrottlingStatusForTesting() { | 4890 void FrameView::UpdateRenderThrottlingStatusForTesting() { |
| 4888 visibility_observer_->DeliverObservationsForTesting(); | 4891 visibility_observer_->DeliverObservationsForTesting(); |
| 4889 } | 4892 } |
| 4890 | 4893 |
| 4891 void FrameView::CrossOriginStatusChanged() { | 4894 void FrameView::CrossOriginStatusChanged() { |
| (...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5334 void FrameView::SetAnimationHost( | 5337 void FrameView::SetAnimationHost( |
| 5335 std::unique_ptr<CompositorAnimationHost> host) { | 5338 std::unique_ptr<CompositorAnimationHost> host) { |
| 5336 animation_host_ = std::move(host); | 5339 animation_host_ = std::move(host); |
| 5337 } | 5340 } |
| 5338 | 5341 |
| 5339 LayoutUnit FrameView::CaretWidth() const { | 5342 LayoutUnit FrameView::CaretWidth() const { |
| 5340 return LayoutUnit(GetHostWindow()->WindowToViewportScalar(1)); | 5343 return LayoutUnit(GetHostWindow()->WindowToViewportScalar(1)); |
| 5341 } | 5344 } |
| 5342 | 5345 |
| 5343 } // namespace blink | 5346 } // namespace blink |
| OLD | NEW |