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

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: revert to patchset 10 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 181
182 void layoutContent(); 182 void layoutContent();
183 #if ENABLE(ASSERT) 183 #if ENABLE(ASSERT)
184 void checkLayoutState(); 184 void checkLayoutState();
185 #endif 185 #endif
186 186
187 friend class ForceHorriblySlowRectMapping; 187 friend class ForceHorriblySlowRectMapping;
188 188
189 bool shouldUsePrintingLayout() const; 189 bool shouldUsePrintingLayout() const;
190 190
191 LayoutObject* backgroundLayoutObject() const;
192
193 int viewLogicalWidthForBoxSizing() const; 191 int viewLogicalWidthForBoxSizing() const;
194 int viewLogicalHeightForBoxSizing() const; 192 int viewLogicalHeightForBoxSizing() const;
195 193
196 FrameView* m_frameView; 194 FrameView* m_frameView;
197 195
198 LayoutObject* m_selectionStart; 196 LayoutObject* m_selectionStart;
199 LayoutObject* m_selectionEnd; 197 LayoutObject* m_selectionEnd;
200 198
201 int m_selectionStartPos; 199 int m_selectionStartPos;
202 int m_selectionEndPos; 200 int m_selectionEndPos;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 m_paintInvalidationState->m_cachedOffsetsEnabled = true; 237 m_paintInvalidationState->m_cachedOffsetsEnabled = true;
240 } 238 }
241 private: 239 private:
242 const PaintInvalidationState* m_paintInvalidationState; 240 const PaintInvalidationState* m_paintInvalidationState;
243 bool m_didDisable; 241 bool m_didDisable;
244 }; 242 };
245 243
246 } // namespace blink 244 } // namespace blink
247 245
248 #endif // LayoutView_h 246 #endif // LayoutView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698