| 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 virtual IntSize inputEventsOffsetForEmulation() const OVERRIDE; | 163 virtual IntSize inputEventsOffsetForEmulation() const OVERRIDE; |
| 164 void setInputEventsTransformForEmulation(const IntSize&, float); | 164 void setInputEventsTransformForEmulation(const IntSize&, float); |
| 165 | 165 |
| 166 virtual void setScrollPosition(const IntPoint&) OVERRIDE; | 166 virtual void setScrollPosition(const IntPoint&) OVERRIDE; |
| 167 virtual void repaintFixedElementsAfterScrolling(); | 167 virtual void repaintFixedElementsAfterScrolling(); |
| 168 virtual void updateFixedElementsAfterScrolling(); | 168 virtual void updateFixedElementsAfterScrolling(); |
| 169 virtual bool shouldRubberBandInDirection(ScrollDirection) const; | 169 virtual bool shouldRubberBandInDirection(ScrollDirection) const; |
| 170 virtual bool isRubberBandInProgress() const OVERRIDE; | 170 virtual bool isRubberBandInProgress() const OVERRIDE; |
| 171 void setScrollPositionNonProgrammatically(const IntPoint&); | 171 void setScrollPositionNonProgrammatically(const IntPoint&); |
| 172 | 172 |
| 173 bool hasOverflow() const; |
| 174 bool isVisibleToHitTesting() const; |
| 175 |
| 173 // This is different than visibleContentRect() in that it ignores negative (
or overly positive) | 176 // This is different than visibleContentRect() in that it ignores negative (
or overly positive) |
| 174 // offsets from rubber-banding, and it takes zooming into account. | 177 // offsets from rubber-banding, and it takes zooming into account. |
| 175 LayoutRect viewportConstrainedVisibleContentRect() const; | 178 LayoutRect viewportConstrainedVisibleContentRect() const; |
| 176 | 179 |
| 177 AtomicString mediaType() const; | 180 AtomicString mediaType() const; |
| 178 void setMediaType(const AtomicString&); | 181 void setMediaType(const AtomicString&); |
| 179 void adjustMediaTypeForPrinting(bool printing); | 182 void adjustMediaTypeForPrinting(bool printing); |
| 180 | 183 |
| 181 void setCannotBlitToWindow(); | 184 void setCannotBlitToWindow(); |
| 182 void setIsOverlapped(bool); | 185 void setIsOverlapped(bool); |
| (...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 580 static const unsigned visualPixelThreshold = 32 * 32; | 583 static const unsigned visualPixelThreshold = 32 * 32; |
| 581 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 584 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
| 582 setIsVisuallyNonEmpty(); | 585 setIsVisuallyNonEmpty(); |
| 583 } | 586 } |
| 584 | 587 |
| 585 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 588 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
| 586 | 589 |
| 587 } // namespace WebCore | 590 } // namespace WebCore |
| 588 | 591 |
| 589 #endif // FrameView_h | 592 #endif // FrameView_h |
| OLD | NEW |