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

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

Issue 2730343003: Fix overflow:overlay scrollbar width for paint. (Closed)
Patch Set: logic fix 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 void invalidatePaintForSelection(); 158 void invalidatePaintForSelection();
159 159
160 void absoluteRects(Vector<IntRect>&, 160 void absoluteRects(Vector<IntRect>&,
161 const LayoutPoint& accumulatedOffset) const override; 161 const LayoutPoint& accumulatedOffset) const override;
162 void absoluteQuads(Vector<FloatQuad>&, 162 void absoluteQuads(Vector<FloatQuad>&,
163 MapCoordinatesFlags mode = 0) const override; 163 MapCoordinatesFlags mode = 0) const override;
164 164
165 LayoutRect viewRect() const override; 165 LayoutRect viewRect() const override;
166 LayoutRect overflowClipRect( 166 LayoutRect overflowClipRect(
167 const LayoutPoint& location, 167 const LayoutPoint& location,
168 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize) const override; 168 OverlayScrollbarClipBehavior =
169 IgnorePlatformOverlayScrollbarSize) const override;
169 170
170 LayoutState* layoutState() const { return m_layoutState; } 171 LayoutState* layoutState() const { return m_layoutState; }
171 172
172 void updateHitTestResult(HitTestResult&, const LayoutPoint&) override; 173 void updateHitTestResult(HitTestResult&, const LayoutPoint&) override;
173 174
174 ViewFragmentationContext* fragmentationContext() const { 175 ViewFragmentationContext* fragmentationContext() const {
175 return m_fragmentationContext.get(); 176 return m_fragmentationContext.get();
176 } 177 }
177 178
178 LayoutUnit pageLogicalHeight() const { return m_pageLogicalHeight; } 179 LayoutUnit pageLogicalHeight() const { return m_pageLogicalHeight; }
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 unsigned m_hitTestCount; 319 unsigned m_hitTestCount;
319 unsigned m_hitTestCacheHits; 320 unsigned m_hitTestCacheHits;
320 Persistent<HitTestCache> m_hitTestCache; 321 Persistent<HitTestCache> m_hitTestCache;
321 }; 322 };
322 323
323 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); 324 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView());
324 325
325 } // namespace blink 326 } // namespace blink
326 327
327 #endif // LayoutView_h 328 #endif // LayoutView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698