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

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

Issue 2546173003: Fix under-invalidation of frameset on resize (Closed)
Patch Set: Created 4 years 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 * (C) 2000 Simon Hausmann <hausmann@kde.org> 3 * (C) 2000 Simon Hausmann <hausmann@kde.org>
4 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. 4 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 void computeEdgeInfo(); 132 void computeEdgeInfo();
133 void fillFromEdgeInfo(const FrameEdgeInfo&, int r, int c); 133 void fillFromEdgeInfo(const FrameEdgeInfo&, int r, int c);
134 void positionFrames(); 134 void positionFrames();
135 135
136 int splitPosition(const GridAxis&, int split) const; 136 int splitPosition(const GridAxis&, int split) const;
137 int hitTestSplit(const GridAxis&, int position) const; 137 int hitTestSplit(const GridAxis&, int position) const;
138 138
139 void startResizing(GridAxis&, int position); 139 void startResizing(GridAxis&, int position);
140 void continueResizing(GridAxis&, int position); 140 void continueResizing(GridAxis&, int position);
141 141
142 bool paintedOutputOfObjectHasNoEffectRegardlessOfSize() const override {
143 return false;
144 }
145
142 LayoutObjectChildList m_children; 146 LayoutObjectChildList m_children;
143 147
144 GridAxis m_rows; 148 GridAxis m_rows;
145 GridAxis m_cols; 149 GridAxis m_cols;
146 150
147 bool m_isResizing; 151 bool m_isResizing;
148 bool m_isChildResizing; 152 bool m_isChildResizing;
149 }; 153 };
150 154
151 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFrameSet, isFrameSet()); 155 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFrameSet, isFrameSet());
152 156
153 } // namespace blink 157 } // namespace blink
154 158
155 #endif // LayoutFrameSet_h 159 #endif // LayoutFrameSet_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698