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 2648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2659 static_cast<ScrollbarPart>(~kThumbPart)); | 2659 static_cast<ScrollbarPart>(~kThumbPart)); |
2660 } | 2660 } |
2661 } | 2661 } |
2662 | 2662 |
2663 void LocalFrameView::GetTickmarks(Vector<IntRect>& tickmarks) const { | 2663 void LocalFrameView::GetTickmarks(Vector<IntRect>& tickmarks) const { |
2664 if (!tickmarks_.IsEmpty()) { | 2664 if (!tickmarks_.IsEmpty()) { |
2665 tickmarks = tickmarks_; | 2665 tickmarks = tickmarks_; |
2666 return; | 2666 return; |
2667 } | 2667 } |
2668 tickmarks = | 2668 tickmarks = |
2669 GetFrame().GetDocument()->Markers().RenderedRectsForTextMatchMarkers(); | 2669 GetFrame().GetDocument()->Markers().LayoutRectsForTextMatchMarkers(); |
2670 } | 2670 } |
2671 | 2671 |
2672 void LocalFrameView::SetInputEventsTransformForEmulation( | 2672 void LocalFrameView::SetInputEventsTransformForEmulation( |
2673 const IntSize& offset, | 2673 const IntSize& offset, |
2674 float content_scale_factor) { | 2674 float content_scale_factor) { |
2675 input_events_offset_for_emulation_ = offset; | 2675 input_events_offset_for_emulation_ = offset; |
2676 input_events_scale_factor_for_emulation_ = content_scale_factor; | 2676 input_events_scale_factor_for_emulation_ = content_scale_factor; |
2677 } | 2677 } |
2678 | 2678 |
2679 IntSize LocalFrameView::InputEventsOffsetForEmulation() const { | 2679 IntSize LocalFrameView::InputEventsOffsetForEmulation() const { |
(...skipping 2719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5399 void LocalFrameView::SetAnimationHost( | 5399 void LocalFrameView::SetAnimationHost( |
5400 std::unique_ptr<CompositorAnimationHost> host) { | 5400 std::unique_ptr<CompositorAnimationHost> host) { |
5401 animation_host_ = std::move(host); | 5401 animation_host_ = std::move(host); |
5402 } | 5402 } |
5403 | 5403 |
5404 LayoutUnit LocalFrameView::CaretWidth() const { | 5404 LayoutUnit LocalFrameView::CaretWidth() const { |
5405 return LayoutUnit(GetChromeClient()->WindowToViewportScalar(1)); | 5405 return LayoutUnit(GetChromeClient()->WindowToViewportScalar(1)); |
5406 } | 5406 } |
5407 | 5407 |
5408 } // namespace blink | 5408 } // namespace blink |
OLD | NEW |