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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h

Issue 1448253002: Clip scrollbars to box bounds when they don't fit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix assertion in clipTypeAsDebugString Created 5 years, 1 month 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef DisplayItem_h 5 #ifndef DisplayItem_h
6 #define DisplayItem_h 6 #define DisplayItem_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "platform/graphics/ContiguousContainer.h" 9 #include "platform/graphics/ContiguousContainer.h"
10 #include "platform/graphics/paint/DisplayItemClient.h" 10 #include "platform/graphics/paint/DisplayItemClient.h"
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 ClipFrameToVisibleContentRect, 120 ClipFrameToVisibleContentRect,
121 ClipFrameScrollbars, 121 ClipFrameScrollbars,
122 ClipLayerBackground, 122 ClipLayerBackground,
123 ClipLayerColumnBounds, 123 ClipLayerColumnBounds,
124 ClipLayerFilter, 124 ClipLayerFilter,
125 ClipLayerForeground, 125 ClipLayerForeground,
126 ClipLayerParent, 126 ClipLayerParent,
127 ClipLayerOverflowControls, 127 ClipLayerOverflowControls,
128 ClipNodeImage, 128 ClipNodeImage,
129 ClipPopupListBoxFrame, 129 ClipPopupListBoxFrame,
130 ClipScrollbarsToBoxBounds,
130 ClipSelectionImage, 131 ClipSelectionImage,
131 PageWidgetDelegateClip, 132 PageWidgetDelegateClip,
132 ClipPrintedPage, 133 ClipPrintedPage,
133 ClipLast = ClipPrintedPage, 134 ClipLast = ClipPrintedPage,
134 135
135 EndClipFirst, 136 EndClipFirst,
136 EndClipLast = EndClipFirst + ClipLast - ClipFirst, 137 EndClipLast = EndClipFirst + ClipLast - ClipFirst,
137 138
138 FloatClipFirst, 139 FloatClipFirst,
139 FloatClipPaintPhaseFirst = FloatClipFirst, 140 FloatClipPaintPhaseFirst = FloatClipFirst,
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0; 389 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0;
389 #endif 390 #endif
390 391
391 private: 392 private:
392 bool isEnd() const final { return true; } 393 bool isEnd() const final { return true; }
393 }; 394 };
394 395
395 } // namespace blink 396 } // namespace blink
396 397
397 #endif // DisplayItem_h 398 #endif // DisplayItem_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698