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

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

Issue 1145993002: Refactor root element background painting (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase & revise expectation Created 5 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 | Annotate | Revision Log
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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 183
184 void layoutContent(); 184 void layoutContent();
185 #if ENABLE(ASSERT) 185 #if ENABLE(ASSERT)
186 void checkLayoutState(); 186 void checkLayoutState();
187 #endif 187 #endif
188 188
189 friend class ForceHorriblySlowRectMapping; 189 friend class ForceHorriblySlowRectMapping;
190 190
191 bool shouldUsePrintingLayout() const; 191 bool shouldUsePrintingLayout() const;
192 192
193 LayoutObject* backgroundLayoutObject() const;
194
195 int viewLogicalWidthForBoxSizing() const; 193 int viewLogicalWidthForBoxSizing() const;
196 int viewLogicalHeightForBoxSizing() const; 194 int viewLogicalHeightForBoxSizing() const;
197 195
198 FrameView* m_frameView; 196 FrameView* m_frameView;
199 197
200 LayoutObject* m_selectionStart; 198 LayoutObject* m_selectionStart;
201 LayoutObject* m_selectionEnd; 199 LayoutObject* m_selectionEnd;
202 200
203 int m_selectionStartPos; 201 int m_selectionStartPos;
204 int m_selectionEndPos; 202 int m_selectionEndPos;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 m_paintInvalidationState->m_cachedOffsetsEnabled = true; 239 m_paintInvalidationState->m_cachedOffsetsEnabled = true;
242 } 240 }
243 private: 241 private:
244 const PaintInvalidationState* m_paintInvalidationState; 242 const PaintInvalidationState* m_paintInvalidationState;
245 bool m_didDisable; 243 bool m_didDisable;
246 }; 244 };
247 245
248 } // namespace blink 246 } // namespace blink
249 247
250 #endif // LayoutView_h 248 #endif // LayoutView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698