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

Side by Side Diff: trunk/Source/core/rendering/RenderFrameSet.h

Issue 14057012: Revert 148647 "Remove frame flattening support as Chromium has n..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 7 years, 8 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 * (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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 virtual const char* renderName() const { return "RenderFrameSet"; } 103 virtual const char* renderName() const { return "RenderFrameSet"; }
104 virtual bool isFrameSet() const { return true; } 104 virtual bool isFrameSet() const { return true; }
105 105
106 virtual void layout(); 106 virtual void layout();
107 virtual void paint(PaintInfo&, const LayoutPoint&); 107 virtual void paint(PaintInfo&, const LayoutPoint&);
108 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const; 108 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const;
109 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const; 109 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const;
110 110
111 inline HTMLFrameSetElement* frameSet() const; 111 inline HTMLFrameSetElement* frameSet() const;
112 112
113 bool flattenFrameSet() const;
114
113 void setIsResizing(bool); 115 void setIsResizing(bool);
114 116
115 void layOutAxis(GridAxis&, const Length*, int availableSpace); 117 void layOutAxis(GridAxis&, const Length*, int availableSpace);
116 void computeEdgeInfo(); 118 void computeEdgeInfo();
117 void fillFromEdgeInfo(const FrameEdgeInfo& edgeInfo, int r, int c); 119 void fillFromEdgeInfo(const FrameEdgeInfo& edgeInfo, int r, int c);
118 void positionFrames(); 120 void positionFrames();
121 void positionFramesWithFlattening();
119 122
120 int splitPosition(const GridAxis&, int split) const; 123 int splitPosition(const GridAxis&, int split) const;
121 int hitTestSplit(const GridAxis&, int position) const; 124 int hitTestSplit(const GridAxis&, int position) const;
122 125
123 void startResizing(GridAxis&, int position); 126 void startResizing(GridAxis&, int position);
124 void continueResizing(GridAxis&, int position); 127 void continueResizing(GridAxis&, int position);
125 128
126 void paintRowBorder(const PaintInfo&, const IntRect&); 129 void paintRowBorder(const PaintInfo&, const IntRect&);
127 void paintColumnBorder(const PaintInfo&, const IntRect&); 130 void paintColumnBorder(const PaintInfo&, const IntRect&);
128 131
(...skipping 12 matching lines...) Expand all
141 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isFrameSet()); 144 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isFrameSet());
142 return static_cast<RenderFrameSet*>(object); 145 return static_cast<RenderFrameSet*>(object);
143 } 146 }
144 147
145 // This will catch anyone doing an unnecessary cast. 148 // This will catch anyone doing an unnecessary cast.
146 void toRenderFrameSet(const RenderFrameSet*); 149 void toRenderFrameSet(const RenderFrameSet*);
147 150
148 } // namespace WebCore 151 } // namespace WebCore
149 152
150 #endif // RenderFrameSet_h 153 #endif // RenderFrameSet_h
OLDNEW
« no previous file with comments | « trunk/Source/core/rendering/RenderFrameBase.cpp ('k') | trunk/Source/core/rendering/RenderFrameSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698