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

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

Issue 1907213002: Refactor OverlayScrollbarSizeRelevancy into OverlayScrollbarClipBehavior (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Include -> Exclude Created 4 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
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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 ColAndColGroup slowColElementAtAbsoluteColumn(unsigned col) const; 421 ColAndColGroup slowColElementAtAbsoluteColumn(unsigned col) const;
422 422
423 void updateColumnCache() const; 423 void updateColumnCache() const;
424 void invalidateCachedColumns(); 424 void invalidateCachedColumns();
425 425
426 void updateLogicalWidth() override; 426 void updateLogicalWidth() override;
427 427
428 LayoutUnit convertStyleLogicalWidthToComputedWidth(const Length& styleLogica lWidth, LayoutUnit availableWidth); 428 LayoutUnit convertStyleLogicalWidthToComputedWidth(const Length& styleLogica lWidth, LayoutUnit availableWidth);
429 LayoutUnit convertStyleLogicalHeightToComputedHeight(const Length& styleLogi calHeight); 429 LayoutUnit convertStyleLogicalHeightToComputedHeight(const Length& styleLogi calHeight);
430 430
431 LayoutRect overflowClipRect(const LayoutPoint& location, OverlayScrollbarSiz eRelevancy = IgnoreOverlayScrollbarSize) const override; 431 LayoutRect overflowClipRect(const LayoutPoint& location, OverlayScrollbarCli pBehavior = IgnoreOverlayScrollbarSize) const override;
432 432
433 void addOverflowFromChildren() override; 433 void addOverflowFromChildren() override;
434 434
435 void recalcSections() const; 435 void recalcSections() const;
436 void layoutCaption(LayoutTableCaption&); 436 void layoutCaption(LayoutTableCaption&);
437 437
438 void distributeExtraLogicalHeight(int extraLogicalHeight); 438 void distributeExtraLogicalHeight(int extraLogicalHeight);
439 439
440 void recalcCollapsedBordersIfNeeded(); 440 void recalcCollapsedBordersIfNeeded();
441 441
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 if (m_firstBody) 515 if (m_firstBody)
516 return m_firstBody; 516 return m_firstBody;
517 return m_foot; 517 return m_foot;
518 } 518 }
519 519
520 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTable, isTable()); 520 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTable, isTable());
521 521
522 } // namespace blink 522 } // namespace blink
523 523
524 #endif // LayoutTable_h 524 #endif // LayoutTable_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698