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

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

Issue 2730343003: Fix overflow:overlay scrollbar width for paint. (Closed)
Patch Set: rebase Created 3 years, 9 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 void invalidatePaintForSelection(); 166 void invalidatePaintForSelection();
167 167
168 void absoluteRects(Vector<IntRect>&, 168 void absoluteRects(Vector<IntRect>&,
169 const LayoutPoint& accumulatedOffset) const override; 169 const LayoutPoint& accumulatedOffset) const override;
170 void absoluteQuads(Vector<FloatQuad>&, 170 void absoluteQuads(Vector<FloatQuad>&,
171 MapCoordinatesFlags mode = 0) const override; 171 MapCoordinatesFlags mode = 0) const override;
172 172
173 LayoutRect viewRect() const override; 173 LayoutRect viewRect() const override;
174 LayoutRect overflowClipRect( 174 LayoutRect overflowClipRect(
175 const LayoutPoint& location, 175 const LayoutPoint& location,
176 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize) const override; 176 OverlayScrollbarClipBehavior =
177 IgnorePlatformOverlayScrollbarSize) const override;
177 178
178 LayoutState* layoutState() const { return m_layoutState; } 179 LayoutState* layoutState() const { return m_layoutState; }
179 180
180 void updateHitTestResult(HitTestResult&, const LayoutPoint&) override; 181 void updateHitTestResult(HitTestResult&, const LayoutPoint&) override;
181 182
182 ViewFragmentationContext* fragmentationContext() const { 183 ViewFragmentationContext* fragmentationContext() const {
183 return m_fragmentationContext.get(); 184 return m_fragmentationContext.get();
184 } 185 }
185 186
186 LayoutUnit pageLogicalHeight() const { return m_pageLogicalHeight; } 187 LayoutUnit pageLogicalHeight() const { return m_pageLogicalHeight; }
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 unsigned m_hitTestCount; 327 unsigned m_hitTestCount;
327 unsigned m_hitTestCacheHits; 328 unsigned m_hitTestCacheHits;
328 Persistent<HitTestCache> m_hitTestCache; 329 Persistent<HitTestCache> m_hitTestCache;
329 }; 330 };
330 331
331 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); 332 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView());
332 333
333 } // namespace blink 334 } // namespace blink
334 335
335 #endif // LayoutView_h 336 #endif // LayoutView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTable.h ('k') | third_party/WebKit/Source/core/layout/api/LayoutBoxItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698