OLD | NEW |
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 * (C) 2000 Stefan Schimanski (1Stein@gmx.de) | 4 * (C) 2000 Stefan Schimanski (1Stein@gmx.de) |
5 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. | 5 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 (Size().Height() - (rows - 1) * border_thickness).ToInt()); | 374 (Size().Height() - (rows - 1) * border_thickness).ToInt()); |
375 LayOutAxis(cols_, FrameSet()->ColLengths(), | 375 LayOutAxis(cols_, FrameSet()->ColLengths(), |
376 (Size().Width() - (cols - 1) * border_thickness).ToInt()); | 376 (Size().Width() - (cols - 1) * border_thickness).ToInt()); |
377 | 377 |
378 PositionFrames(); | 378 PositionFrames(); |
379 | 379 |
380 LayoutBox::UpdateLayout(); | 380 LayoutBox::UpdateLayout(); |
381 | 381 |
382 ComputeEdgeInfo(); | 382 ComputeEdgeInfo(); |
383 | 383 |
384 UpdateLayerTransformAfterLayout(); | 384 UpdateAfterLayout(); |
385 | 385 |
386 ClearNeedsLayout(); | 386 ClearNeedsLayout(); |
387 } | 387 } |
388 | 388 |
389 static void ClearNeedsLayoutOnHiddenFrames(LayoutBox* frame) { | 389 static void ClearNeedsLayoutOnHiddenFrames(LayoutBox* frame) { |
390 for (; frame; frame = frame->NextSiblingBox()) { | 390 for (; frame; frame = frame->NextSiblingBox()) { |
391 frame->SetWidth(LayoutUnit()); | 391 frame->SetWidth(LayoutUnit()); |
392 frame->SetHeight(LayoutUnit()); | 392 frame->SetHeight(LayoutUnit()); |
393 frame->ClearNeedsLayout(); | 393 frame->ClearNeedsLayout(); |
394 ClearNeedsLayoutOnHiddenFrames(frame->FirstChildBox()); | 394 ClearNeedsLayoutOnHiddenFrames(frame->FirstChildBox()); |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
573 return kSetCursor; | 573 return kSetCursor; |
574 } | 574 } |
575 if (CanResizeColumn(rounded_point)) { | 575 if (CanResizeColumn(rounded_point)) { |
576 cursor = ColumnResizeCursor(); | 576 cursor = ColumnResizeCursor(); |
577 return kSetCursor; | 577 return kSetCursor; |
578 } | 578 } |
579 return LayoutBox::GetCursor(point, cursor); | 579 return LayoutBox::GetCursor(point, cursor); |
580 } | 580 } |
581 | 581 |
582 } // namespace blink | 582 } // namespace blink |
OLD | NEW |