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

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

Issue 1377573004: Remove unused LayoutState::clearPaginationInformation(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | third_party/WebKit/Source/core/layout/LayoutState.cpp » ('j') | 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 (C) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 public: 68 public:
69 // Constructor for root LayoutState created by LayoutView 69 // Constructor for root LayoutState created by LayoutView
70 LayoutState(LayoutUnit pageLogicalHeight, bool pageLogicalHeightChanged, Lay outView&); 70 LayoutState(LayoutUnit pageLogicalHeight, bool pageLogicalHeightChanged, Lay outView&);
71 // Constructor for sub-tree layout 71 // Constructor for sub-tree layout
72 explicit LayoutState(LayoutObject& root); 72 explicit LayoutState(LayoutObject& root);
73 73
74 LayoutState(LayoutBox&, const LayoutSize& offset, LayoutUnit pageLogicalHeig ht = 0, bool pageHeightLogicalChanged = false, bool containingBlockLogicalWidthC hanged = false); 74 LayoutState(LayoutBox&, const LayoutSize& offset, LayoutUnit pageLogicalHeig ht = 0, bool pageHeightLogicalChanged = false, bool containingBlockLogicalWidthC hanged = false);
75 75
76 ~LayoutState(); 76 ~LayoutState();
77 77
78 void clearPaginationInformation();
79 bool isPaginated() const { return m_isPaginated; } 78 bool isPaginated() const { return m_isPaginated; }
80 79
81 // The page logical offset is the object's offset from the top of the page i n the page progression 80 // The page logical offset is the object's offset from the top of the page i n the page progression
82 // direction (so an x-offset in vertical text and a y-offset for horizontal text). 81 // direction (so an x-offset in vertical text and a y-offset for horizontal text).
83 LayoutUnit pageLogicalOffset(const LayoutBox&, const LayoutUnit& childLogica lOffset) const; 82 LayoutUnit pageLogicalOffset(const LayoutBox&, const LayoutUnit& childLogica lOffset) const;
84 83
85 const LayoutSize& layoutOffset() const { return m_layoutOffset; } 84 const LayoutSize& layoutOffset() const { return m_layoutOffset; }
86 const LayoutSize& pageOffset() const { return m_pageOffset; } 85 const LayoutSize& pageOffset() const { return m_pageOffset; }
87 LayoutUnit pageLogicalHeight() const { return m_pageLogicalHeight; } 86 LayoutUnit pageLogicalHeight() const { return m_pageLogicalHeight; }
88 bool pageLogicalHeightChanged() const { return m_pageLogicalHeightChanged; } 87 bool pageLogicalHeightChanged() const { return m_pageLogicalHeightChanged; }
(...skipping 25 matching lines...) Expand all
114 LayoutUnit m_pageLogicalHeight; 113 LayoutUnit m_pageLogicalHeight;
115 // The offset of the start of the first page in the nearest enclosing pagina tion model. 114 // The offset of the start of the first page in the nearest enclosing pagina tion model.
116 LayoutSize m_pageOffset; 115 LayoutSize m_pageOffset;
117 116
118 LayoutObject& m_layoutObject; 117 LayoutObject& m_layoutObject;
119 }; 118 };
120 119
121 } // namespace blink 120 } // namespace blink
122 121
123 #endif // LayoutState_h 122 #endif // LayoutState_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698