| 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 3138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3149 | 3149 |
| 3150 void FrameView::notifyPaint(const PaintController& paintController) const { | 3150 void FrameView::notifyPaint(const PaintController& paintController) const { |
| 3151 DCHECK(m_frame->document()); | 3151 DCHECK(m_frame->document()); |
| 3152 PaintTiming::from(*m_frame->document()) | 3152 PaintTiming::from(*m_frame->document()) |
| 3153 .notifyPaint(paintController.firstPainted(), | 3153 .notifyPaint(paintController.firstPainted(), |
| 3154 paintController.textPainted(), | 3154 paintController.textPainted(), |
| 3155 paintController.imagePainted()); | 3155 paintController.imagePainted()); |
| 3156 } | 3156 } |
| 3157 | 3157 |
| 3158 void FrameView::paintTree() { | 3158 void FrameView::paintTree() { |
| 3159 fprintf(stderr, "%s\n", "paintTree"); |
| 3159 TRACE_EVENT0("blink", "FrameView::paintTree"); | 3160 TRACE_EVENT0("blink", "FrameView::paintTree"); |
| 3160 SCOPED_BLINK_UMA_HISTOGRAM_TIMER("Blink.Paint.UpdateTime"); | 3161 SCOPED_BLINK_UMA_HISTOGRAM_TIMER("Blink.Paint.UpdateTime"); |
| 3161 | 3162 |
| 3162 ASSERT(frame() == page()->mainFrame() || | 3163 ASSERT(frame() == page()->mainFrame() || |
| 3163 (!frame().tree().parent()->isLocalFrame())); | 3164 (!frame().tree().parent()->isLocalFrame())); |
| 3164 | 3165 |
| 3165 LayoutViewItem view = layoutViewItem(); | 3166 LayoutViewItem view = layoutViewItem(); |
| 3166 ASSERT(!view.isNull()); | 3167 ASSERT(!view.isNull()); |
| 3167 forAllNonThrottledFrameViews([](FrameView& frameView) { | 3168 forAllNonThrottledFrameViews([](FrameView& frameView) { |
| 3168 frameView.lifecycle().advanceTo(DocumentLifecycle::InPaint); | 3169 frameView.lifecycle().advanceTo(DocumentLifecycle::InPaint); |
| (...skipping 2072 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5241 void FrameView::setAnimationHost( | 5242 void FrameView::setAnimationHost( |
| 5242 std::unique_ptr<CompositorAnimationHost> host) { | 5243 std::unique_ptr<CompositorAnimationHost> host) { |
| 5243 m_animationHost = std::move(host); | 5244 m_animationHost = std::move(host); |
| 5244 } | 5245 } |
| 5245 | 5246 |
| 5246 LayoutUnit FrameView::caretWidth() const { | 5247 LayoutUnit FrameView::caretWidth() const { |
| 5247 return LayoutUnit(getHostWindow()->windowToViewportScalar(1)); | 5248 return LayoutUnit(getHostWindow()->windowToViewportScalar(1)); |
| 5248 } | 5249 } |
| 5249 | 5250 |
| 5250 } // namespace blink | 5251 } // namespace blink |
| OLD | NEW |