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

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

Issue 2084723002: Remove LayoutView::doingFullPaintInvalidation() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More NeedsRebaselines Created 4 years, 5 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/core/layout/LayoutView.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 1
2 // Copyright 2016 The Chromium Authors. All rights reserved. 2 // Copyright 2016 The Chromium Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 5
6 #ifndef LayoutViewItem_h 6 #ifndef LayoutViewItem_h
7 #define LayoutViewItem_h 7 #define LayoutViewItem_h
8 8
9 #include "core/layout/LayoutView.h" 9 #include "core/layout/LayoutView.h"
10 #include "core/layout/api/LayoutBlockItem.h" 10 #include "core/layout/api/LayoutBlockItem.h"
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 void clearHitTestCache() 106 void clearHitTestCache()
107 { 107 {
108 toView()->clearHitTestCache(); 108 toView()->clearHitTestCache();
109 } 109 }
110 110
111 void invalidatePaintForViewAndCompositedLayers() 111 void invalidatePaintForViewAndCompositedLayers()
112 { 112 {
113 toView()->invalidatePaintForViewAndCompositedLayers(); 113 toView()->invalidatePaintForViewAndCompositedLayers();
114 } 114 }
115 115
116 bool shouldDoFullPaintInvalidationForNextLayout() const
117 {
118 return toView()->shouldDoFullPaintInvalidationForNextLayout();
119 }
120
121 void sendMediaPositionChangeNotifications(const IntRect& visibleRect) 116 void sendMediaPositionChangeNotifications(const IntRect& visibleRect)
122 { 117 {
123 toView()->sendMediaPositionChangeNotifications(visibleRect); 118 toView()->sendMediaPositionChangeNotifications(visibleRect);
124 } 119 }
125 120
126 int viewHeight(IncludeScrollbarsInRect scrollbarInclusion = ExcludeScrollbar s) const 121 int viewHeight(IncludeScrollbarsInRect scrollbarInclusion = ExcludeScrollbar s) const
127 { 122 {
128 return toView()->viewHeight(scrollbarInclusion); 123 return toView()->viewHeight(scrollbarInclusion);
129 } 124 }
130 125
131 int viewWidth(IncludeScrollbarsInRect scrollbarInclusion = ExcludeScrollbars ) const 126 int viewWidth(IncludeScrollbarsInRect scrollbarInclusion = ExcludeScrollbars ) const
132 { 127 {
133 return toView()->viewWidth(scrollbarInclusion); 128 return toView()->viewWidth(scrollbarInclusion);
134 } 129 }
135 130
136 private: 131 private:
137 LayoutView* toView() { return toLayoutView(layoutObject()); } 132 LayoutView* toView() { return toLayoutView(layoutObject()); }
138 const LayoutView* toView() const { return toLayoutView(layoutObject()); } 133 const LayoutView* toView() const { return toLayoutView(layoutObject()); }
139 }; 134 };
140 135
141 } // namespace blink 136 } // namespace blink
142 137
143 #endif // LayoutViewItem_h 138 #endif // LayoutViewItem_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutView.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698