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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutView.h

Issue 2818703002: Shorten LayoutSelectionStartEnd() call stack (Closed)
Patch Set: rebase Created 3 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2006 Apple Computer, Inc. 3 * Copyright (C) 2006 Apple Computer, Inc.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 PaintInvalidationReason InvalidatePaintIfNeeded( 144 PaintInvalidationReason InvalidatePaintIfNeeded(
145 const PaintInvalidatorContext&) const override; 145 const PaintInvalidatorContext&) const override;
146 146
147 void Paint(const PaintInfo&, const LayoutPoint&) const override; 147 void Paint(const PaintInfo&, const LayoutPoint&) const override;
148 void PaintBoxDecorationBackground(const PaintInfo&, 148 void PaintBoxDecorationBackground(const PaintInfo&,
149 const LayoutPoint&) const override; 149 const LayoutPoint&) const override;
150 150
151 void ClearSelection(); 151 void ClearSelection();
152 bool HasPendingSelection() const; 152 bool HasPendingSelection() const;
153 void CommitPendingSelection(); 153 void CommitPendingSelection();
154 void SelectionStartEnd(int& start_pos, int& end_pos);
155 154
156 void AbsoluteRects(Vector<IntRect>&, 155 void AbsoluteRects(Vector<IntRect>&,
157 const LayoutPoint& accumulated_offset) const override; 156 const LayoutPoint& accumulated_offset) const override;
158 void AbsoluteQuads(Vector<FloatQuad>&, 157 void AbsoluteQuads(Vector<FloatQuad>&,
159 MapCoordinatesFlags mode = 0) const override; 158 MapCoordinatesFlags mode = 0) const override;
160 159
161 LayoutRect ViewRect() const override; 160 LayoutRect ViewRect() const override;
162 LayoutRect OverflowClipRect( 161 LayoutRect OverflowClipRect(
163 const LayoutPoint& location, 162 const LayoutPoint& location,
164 OverlayScrollbarClipBehavior = 163 OverlayScrollbarClipBehavior =
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 unsigned hit_test_count_; 299 unsigned hit_test_count_;
301 unsigned hit_test_cache_hits_; 300 unsigned hit_test_cache_hits_;
302 Persistent<HitTestCache> hit_test_cache_; 301 Persistent<HitTestCache> hit_test_cache_;
303 }; 302 };
304 303
305 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, IsLayoutView()); 304 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, IsLayoutView());
306 305
307 } // namespace blink 306 } // namespace blink
308 307
309 #endif // LayoutView_h 308 #endif // LayoutView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698