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

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

Issue 370593002: Remove updateFirstLetter and firstLineBlock from RenderTable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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) 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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 290
291 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode , LinePositionMode = PositionOnContainingLine) const OVERRIDE; 291 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode , LinePositionMode = PositionOnContainingLine) const OVERRIDE;
292 virtual int firstLineBoxBaseline() const OVERRIDE; 292 virtual int firstLineBoxBaseline() const OVERRIDE;
293 virtual int inlineBlockBaseline(LineDirectionMode) const OVERRIDE; 293 virtual int inlineBlockBaseline(LineDirectionMode) const OVERRIDE;
294 294
295 RenderTableCol* slowColElement(unsigned col, bool* startEdge, bool* endEdge) const; 295 RenderTableCol* slowColElement(unsigned col, bool* startEdge, bool* endEdge) const;
296 296
297 void updateColumnCache() const; 297 void updateColumnCache() const;
298 void invalidateCachedColumns(); 298 void invalidateCachedColumns();
299 299
300 virtual RenderBlock* firstLineBlock() const OVERRIDE;
301 virtual void updateFirstLetter() OVERRIDE;
302
303 virtual void updateLogicalWidth() OVERRIDE; 300 virtual void updateLogicalWidth() OVERRIDE;
304 301
305 LayoutUnit convertStyleLogicalWidthToComputedWidth(const Length& styleLogica lWidth, LayoutUnit availableWidth); 302 LayoutUnit convertStyleLogicalWidthToComputedWidth(const Length& styleLogica lWidth, LayoutUnit availableWidth);
306 LayoutUnit convertStyleLogicalHeightToComputedHeight(const Length& styleLogi calHeight); 303 LayoutUnit convertStyleLogicalHeightToComputedHeight(const Length& styleLogi calHeight);
307 304
308 virtual LayoutRect overflowClipRect(const LayoutPoint& location, OverlayScro llbarSizeRelevancy = IgnoreOverlayScrollbarSize) OVERRIDE; 305 virtual LayoutRect overflowClipRect(const LayoutPoint& location, OverlayScro llbarSizeRelevancy = IgnoreOverlayScrollbarSize) OVERRIDE;
309 306
310 virtual void addOverflowFromChildren() OVERRIDE; 307 virtual void addOverflowFromChildren() OVERRIDE;
311 308
312 void subtractCaptionRect(LayoutRect&) const; 309 void subtractCaptionRect(LayoutRect&) const;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 if (m_firstBody) 358 if (m_firstBody)
362 return m_firstBody; 359 return m_firstBody;
363 return m_foot; 360 return m_foot;
364 } 361 }
365 362
366 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTable, isTable()); 363 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTable, isTable());
367 364
368 } // namespace WebCore 365 } // namespace WebCore
369 366
370 #endif // RenderTable_h 367 #endif // RenderTable_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/first-letter-table-expected.txt ('k') | Source/core/rendering/RenderTable.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698