| 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 26 matching lines...) Expand all Loading... |
| 37 #include "wtf/text/WTFString.h" | 37 #include "wtf/text/WTFString.h" |
| 38 | 38 |
| 39 namespace WebCore { | 39 namespace WebCore { |
| 40 | 40 |
| 41 class AXObjectCache; | 41 class AXObjectCache; |
| 42 class Element; | 42 class Element; |
| 43 class FloatSize; | 43 class FloatSize; |
| 44 class Frame; | 44 class Frame; |
| 45 class KURL; | 45 class KURL; |
| 46 class Node; | 46 class Node; |
| 47 class OverflowEvent; | |
| 48 class Page; | 47 class Page; |
| 49 class RenderBox; | 48 class RenderBox; |
| 50 class RenderEmbeddedObject; | 49 class RenderEmbeddedObject; |
| 51 class RenderObject; | 50 class RenderObject; |
| 52 class RenderScrollbarPart; | 51 class RenderScrollbarPart; |
| 53 class RenderStyle; | 52 class RenderStyle; |
| 54 | 53 |
| 55 Pagination::Mode paginationModeForRenderStyle(RenderStyle*); | 54 Pagination::Mode paginationModeForRenderStyle(RenderStyle*); |
| 56 | 55 |
| 57 typedef unsigned long long DOMTimeStamp; | 56 typedef unsigned long long DOMTimeStamp; |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 bool hasViewportConstrainedObjects() const { return m_viewportConstrainedObj
ects && m_viewportConstrainedObjects->size() > 0; } | 199 bool hasViewportConstrainedObjects() const { return m_viewportConstrainedObj
ects && m_viewportConstrainedObjects->size() > 0; } |
| 201 | 200 |
| 202 void handleLoadCompleted(); | 201 void handleLoadCompleted(); |
| 203 void resetDeferredRepaintDelay(); | 202 void resetDeferredRepaintDelay(); |
| 204 | 203 |
| 205 void updateAnnotatedRegions(); | 204 void updateAnnotatedRegions(); |
| 206 void updateControlTints(); | 205 void updateControlTints(); |
| 207 | 206 |
| 208 void restoreScrollbar(); | 207 void restoreScrollbar(); |
| 209 | 208 |
| 210 void suspendOverflowEvents(); | |
| 211 void resumeOverflowEvents(); | |
| 212 void scheduleOverflowEvent(PassRefPtr<OverflowEvent>); | |
| 213 | |
| 214 void postLayoutTimerFired(Timer<FrameView>*); | 209 void postLayoutTimerFired(Timer<FrameView>*); |
| 215 | 210 |
| 216 bool wasScrolledByUser() const; | 211 bool wasScrolledByUser() const; |
| 217 void setWasScrolledByUser(bool); | 212 void setWasScrolledByUser(bool); |
| 218 | 213 |
| 219 bool safeToPropagateScrollToParent() const { return m_safeToPropagateScrollT
oParent; } | 214 bool safeToPropagateScrollToParent() const { return m_safeToPropagateScrollT
oParent; } |
| 220 void setSafeToPropagateScrollToParent(bool isSafe) { m_safeToPropagateScroll
ToParent = isSafe; } | 215 void setSafeToPropagateScrollToParent(bool isSafe) { m_safeToPropagateScroll
ToParent = isSafe; } |
| 221 | 216 |
| 222 void addWidgetToUpdate(RenderObject*); | 217 void addWidgetToUpdate(RenderObject*); |
| 223 void removeWidgetToUpdate(RenderObject*); | 218 void removeWidgetToUpdate(RenderObject*); |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 | 486 |
| 492 bool m_firstLayout; | 487 bool m_firstLayout; |
| 493 bool m_isTransparent; | 488 bool m_isTransparent; |
| 494 Color m_baseBackgroundColor; | 489 Color m_baseBackgroundColor; |
| 495 IntSize m_lastViewportSize; | 490 IntSize m_lastViewportSize; |
| 496 float m_lastZoomFactor; | 491 float m_lastZoomFactor; |
| 497 | 492 |
| 498 AtomicString m_mediaType; | 493 AtomicString m_mediaType; |
| 499 AtomicString m_mediaTypeWhenNotPrinting; | 494 AtomicString m_mediaTypeWhenNotPrinting; |
| 500 | 495 |
| 501 unsigned m_overflowEventSuspendCount; | |
| 502 Vector<RefPtr<OverflowEvent> > m_overflowEventQueue; | |
| 503 | |
| 504 bool m_overflowStatusDirty; | 496 bool m_overflowStatusDirty; |
| 505 bool m_horizontalOverflow; | 497 bool m_horizontalOverflow; |
| 506 bool m_verticalOverflow; | 498 bool m_verticalOverflow; |
| 507 RenderObject* m_viewportRenderer; | 499 RenderObject* m_viewportRenderer; |
| 508 | 500 |
| 509 Pagination m_pagination; | 501 Pagination m_pagination; |
| 510 | 502 |
| 511 bool m_wasScrolledByUser; | 503 bool m_wasScrolledByUser; |
| 512 bool m_inProgrammaticScroll; | 504 bool m_inProgrammaticScroll; |
| 513 bool m_safeToPropagateScrollToParent; | 505 bool m_safeToPropagateScrollToParent; |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 605 ASSERT_WITH_SECURITY_IMPLICATION(!widget || widget->isFrameView()); | 597 ASSERT_WITH_SECURITY_IMPLICATION(!widget || widget->isFrameView()); |
| 606 return static_cast<const FrameView*>(widget); | 598 return static_cast<const FrameView*>(widget); |
| 607 } | 599 } |
| 608 | 600 |
| 609 // This will catch anyone doing an unnecessary cast. | 601 // This will catch anyone doing an unnecessary cast. |
| 610 void toFrameView(const FrameView*); | 602 void toFrameView(const FrameView*); |
| 611 | 603 |
| 612 } // namespace WebCore | 604 } // namespace WebCore |
| 613 | 605 |
| 614 #endif // FrameView_h | 606 #endif // FrameView_h |
| OLD | NEW |