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

Side by Side Diff: third_party/WebKit/public/platform/WebDisplayItemList.h

Issue 2876033005: Track slow paths in DisplayItemList (Closed)
Patch Set: danakj review 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/platform/graphics/paint/PaintControllerTest.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 // 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 WebDisplayItemList_h 5 #ifndef WebDisplayItemList_h
6 #define WebDisplayItemList_h 6 #define WebDisplayItemList_h
7 7
8 #include "WebBlendMode.h" 8 #include "WebBlendMode.h"
9 #include "WebFloatPoint.h" 9 #include "WebFloatPoint.h"
10 #include "WebFloatRect.h" 10 #include "WebFloatRect.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 const WebFloatRect& filter_bounds, 60 const WebFloatRect& filter_bounds,
61 const WebFloatPoint& origin) {} 61 const WebFloatPoint& origin) {}
62 virtual void AppendEndFilterItem() {} 62 virtual void AppendEndFilterItem() {}
63 63
64 // Scroll containers are identified by an opaque pointer. 64 // Scroll containers are identified by an opaque pointer.
65 using ScrollContainerId = const void*; 65 using ScrollContainerId = const void*;
66 virtual void AppendScrollItem(const WebSize& scroll_offset, 66 virtual void AppendScrollItem(const WebSize& scroll_offset,
67 ScrollContainerId) {} 67 ScrollContainerId) {}
68 virtual void AppendEndScrollItem() {} 68 virtual void AppendEndScrollItem() {}
69 69
70 virtual void SetIsSuitableForGpuRasterization(bool is_suitable) {} 70 virtual void SetNumSlowPaths(int num_slow_paths) {}
71 }; 71 };
72 72
73 } // namespace blink 73 } // namespace blink
74 74
75 #endif // WebDisplayItemList_h 75 #endif // WebDisplayItemList_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698