| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 | 96 |
| 97 Page* page() const; | 97 Page* page() const; |
| 98 | 98 |
| 99 LayoutView* layoutView() const; | 99 LayoutView* layoutView() const; |
| 100 | 100 |
| 101 void setCanHaveScrollbars(bool); | 101 void setCanHaveScrollbars(bool); |
| 102 | 102 |
| 103 PassRefPtrWillBeRawPtr<Scrollbar> createScrollbar(ScrollbarOrientation); | 103 PassRefPtrWillBeRawPtr<Scrollbar> createScrollbar(ScrollbarOrientation); |
| 104 | 104 |
| 105 void setContentsSize(const IntSize&); | 105 void setContentsSize(const IntSize&); |
| 106 IntPoint clampOffsetAtScale(const IntPoint& offset, float scale) const; | |
| 107 | 106 |
| 108 void layout(); | 107 void layout(); |
| 109 bool didFirstLayout() const; | 108 bool didFirstLayout() const; |
| 110 void scheduleRelayout(); | 109 void scheduleRelayout(); |
| 111 void scheduleRelayoutOfSubtree(LayoutObject*); | 110 void scheduleRelayoutOfSubtree(LayoutObject*); |
| 112 bool layoutPending() const; | 111 bool layoutPending() const; |
| 113 bool isInPerformLayout() const; | 112 bool isInPerformLayout() const; |
| 114 | 113 |
| 115 void clearLayoutSubtreeRoot(const LayoutObject&); | 114 void clearLayoutSubtreeRoot(const LayoutObject&); |
| 116 int layoutCount() const { return m_layoutCount; } | 115 int layoutCount() const { return m_layoutCount; } |
| (...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 864 static const unsigned visualPixelThreshold = 32 * 32; | 863 static const unsigned visualPixelThreshold = 32 * 32; |
| 865 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 864 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
| 866 setIsVisuallyNonEmpty(); | 865 setIsVisuallyNonEmpty(); |
| 867 } | 866 } |
| 868 | 867 |
| 869 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 868 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
| 870 | 869 |
| 871 } // namespace blink | 870 } // namespace blink |
| 872 | 871 |
| 873 #endif // FrameView_h | 872 #endif // FrameView_h |
| OLD | NEW |