OLD | NEW |
1 /* | 1 /* |
2 Copyright (C) 1997 Martin Jones (mjones@kde.org) | 2 Copyright (C) 1997 Martin Jones (mjones@kde.org) |
3 (C) 1998 Waldo Bastian (bastian@kde.org) | 3 (C) 1998 Waldo Bastian (bastian@kde.org) |
4 (C) 1998, 1999 Torben Weis (weis@kde.org) | 4 (C) 1998, 1999 Torben Weis (weis@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) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. | 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 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 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 bool m_firstVisuallyNonEmptyLayoutCallbackPending; | 501 bool m_firstVisuallyNonEmptyLayoutCallbackPending; |
502 | 502 |
503 RefPtr<Node> m_maintainScrollPositionAnchor; | 503 RefPtr<Node> m_maintainScrollPositionAnchor; |
504 | 504 |
505 // Renderer to hold our custom scroll corner. | 505 // Renderer to hold our custom scroll corner. |
506 RenderScrollbarPart* m_scrollCorner; | 506 RenderScrollbarPart* m_scrollCorner; |
507 | 507 |
508 // If true, automatically resize the frame view around its content. | 508 // If true, automatically resize the frame view around its content. |
509 bool m_shouldAutoSize; | 509 bool m_shouldAutoSize; |
510 bool m_inAutoSize; | 510 bool m_inAutoSize; |
| 511 // True if autosize has been run since m_shouldAutoSize was set. |
| 512 bool m_didRunAutosize; |
511 // The lower bound on the size when autosizing. | 513 // The lower bound on the size when autosizing. |
512 IntSize m_minAutoSize; | 514 IntSize m_minAutoSize; |
513 // The upper bound on the size when autosizing. | 515 // The upper bound on the size when autosizing. |
514 IntSize m_maxAutoSize; | 516 IntSize m_maxAutoSize; |
515 | 517 |
516 OwnPtr<ScrollableAreaSet> m_scrollableAreas; | 518 OwnPtr<ScrollableAreaSet> m_scrollableAreas; |
517 | 519 |
518 static double s_deferredRepaintDelay; | 520 static double s_deferredRepaintDelay; |
519 static double s_initialDeferredRepaintDelayDuringLoading; | 521 static double s_initialDeferredRepaintDelayDuringLoading; |
520 static double s_maxDeferredRepaintDelayDuringLoading; | 522 static double s_maxDeferredRepaintDelayDuringLoading; |
(...skipping 29 matching lines...) Expand all Loading... |
550 } | 552 } |
551 | 553 |
552 inline LayoutUnit FrameView::mapFromCSSToLayoutUnits(int value) | 554 inline LayoutUnit FrameView::mapFromCSSToLayoutUnits(int value) |
553 { | 555 { |
554 return value * m_frame->pageZoomFactor() * m_frame->frameScaleFactor(); | 556 return value * m_frame->pageZoomFactor() * m_frame->frameScaleFactor(); |
555 } | 557 } |
556 | 558 |
557 } // namespace WebCore | 559 } // namespace WebCore |
558 | 560 |
559 #endif // FrameView_h | 561 #endif // FrameView_h |
OLD | NEW |