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

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

Issue 2465983002: Rename "paint invalidation rect" etc. to "visual rect". (Closed)
Patch Set: - Created 4 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 /* 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 215
216 void pushLayoutState(LayoutState& layoutState) { 216 void pushLayoutState(LayoutState& layoutState) {
217 m_layoutState = &layoutState; 217 m_layoutState = &layoutState;
218 } 218 }
219 void popLayoutState() { 219 void popLayoutState() {
220 ASSERT(m_layoutState); 220 ASSERT(m_layoutState);
221 m_layoutState = m_layoutState->next(); 221 m_layoutState = m_layoutState->next();
222 } 222 }
223 223
224 LayoutRect visualOverflowRect() const override; 224 LayoutRect visualOverflowRect() const override;
225 LayoutRect localOverflowRectForPaintInvalidation() const override; 225 LayoutRect localVisualRect() const override;
226 226
227 // Invalidates paint for the entire view, including composited descendants, 227 // Invalidates paint for the entire view, including composited descendants,
228 // but not including child frames. 228 // but not including child frames.
229 // It is very likely you do not want to call this method. 229 // It is very likely you do not want to call this method.
230 void setShouldDoFullPaintInvalidationForViewAndAllDescendants(); 230 void setShouldDoFullPaintInvalidationForViewAndAllDescendants();
231 231
232 // The document scrollbar is always on the right, even in RTL. This is to 232 // The document scrollbar is always on the right, even in RTL. This is to
233 // prevent it from moving around on navigations. 233 // prevent it from moving around on navigations.
234 // TODO(skobes): This is not quite the ideal behavior, see 234 // TODO(skobes): This is not quite the ideal behavior, see
235 // http://crbug.com/250514 and http://crbug.com/249860. 235 // http://crbug.com/250514 and http://crbug.com/249860.
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 Persistent<HitTestCache> m_hitTestCache; 328 Persistent<HitTestCache> m_hitTestCache;
329 329
330 Vector<LayoutMedia*> m_mediaForPositionNotification; 330 Vector<LayoutMedia*> m_mediaForPositionNotification;
331 }; 331 };
332 332
333 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); 333 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView());
334 334
335 } // namespace blink 335 } // namespace blink
336 336
337 #endif // LayoutView_h 337 #endif // LayoutView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutText.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698