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

Side by Side Diff: Source/core/rendering/RenderTable.h

Issue 752723004: Use references in RenderBlock and RenderBlockFlow methods (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: cover RenderBlockFlow class as well Created 6 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
« no previous file with comments | « Source/core/rendering/RenderGrid.cpp ('k') | Source/core/rendering/RenderTable.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) 1997 Martin Jones (mjones@kde.org) 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 * (C) 1997 Torben Weis (weis@kde.org) 3 * (C) 1997 Torben Weis (weis@kde.org)
4 * (C) 1998 Waldo Bastian (bastian@kde.org) 4 * (C) 1998 Waldo Bastian (bastian@kde.org)
5 * (C) 1999 Lars Knoll (knoll@kde.org) 5 * (C) 1999 Lars Knoll (knoll@kde.org)
6 * (C) 1999 Antti Koivisto (koivisto@kde.org) 6 * (C) 1999 Antti Koivisto (koivisto@kde.org)
7 * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2010 Apple Inc. All rights reserv ed. 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2010 Apple Inc. All rights reserv ed.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 virtual void updateLogicalWidth() override; 304 virtual void updateLogicalWidth() override;
305 305
306 LayoutUnit convertStyleLogicalWidthToComputedWidth(const Length& styleLogica lWidth, LayoutUnit availableWidth); 306 LayoutUnit convertStyleLogicalWidthToComputedWidth(const Length& styleLogica lWidth, LayoutUnit availableWidth);
307 LayoutUnit convertStyleLogicalHeightToComputedHeight(const Length& styleLogi calHeight); 307 LayoutUnit convertStyleLogicalHeightToComputedHeight(const Length& styleLogi calHeight);
308 308
309 virtual LayoutRect overflowClipRect(const LayoutPoint& location, OverlayScro llbarSizeRelevancy = IgnoreOverlayScrollbarSize) override; 309 virtual LayoutRect overflowClipRect(const LayoutPoint& location, OverlayScro llbarSizeRelevancy = IgnoreOverlayScrollbarSize) override;
310 310
311 virtual void addOverflowFromChildren() override; 311 virtual void addOverflowFromChildren() override;
312 312
313 void recalcSections() const; 313 void recalcSections() const;
314 void layoutCaption(RenderTableCaption*); 314 void layoutCaption(RenderTableCaption&);
315 315
316 void distributeExtraLogicalHeight(int extraLogicalHeight); 316 void distributeExtraLogicalHeight(int extraLogicalHeight);
317 317
318 mutable Vector<int> m_columnPos; 318 mutable Vector<int> m_columnPos;
319 mutable Vector<ColumnStruct> m_columns; 319 mutable Vector<ColumnStruct> m_columns;
320 mutable Vector<RenderTableCaption*> m_captions; 320 mutable Vector<RenderTableCaption*> m_captions;
321 mutable Vector<RenderTableCol*> m_columnRenderers; 321 mutable Vector<RenderTableCol*> m_columnRenderers;
322 322
323 mutable RenderTableSection* m_head; 323 mutable RenderTableSection* m_head;
324 mutable RenderTableSection* m_foot; 324 mutable RenderTableSection* m_foot;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 if (m_firstBody) 359 if (m_firstBody)
360 return m_firstBody; 360 return m_firstBody;
361 return m_foot; 361 return m_foot;
362 } 362 }
363 363
364 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTable, isTable()); 364 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTable, isTable());
365 365
366 } // namespace blink 366 } // namespace blink
367 367
368 #endif // RenderTable_h 368 #endif // RenderTable_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderGrid.cpp ('k') | Source/core/rendering/RenderTable.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698