Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: third_party/WebKit/Source/core/frame/LocalFrameView.cpp

Issue 2920913003: Rename TextMatchMarker::rendered_rect_ to layout_rect_ (Closed)
Patch Set: Rename DMC::RenderedRectsForTextMatchMarkers() Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698