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 20 matching lines...) Expand all Loading... |
31 #include "core/rendering/PaintPhase.h" | 31 #include "core/rendering/PaintPhase.h" |
32 #include "core/rendering/PartialLayoutState.h" | 32 #include "core/rendering/PartialLayoutState.h" |
33 #include "platform/geometry/LayoutRect.h" | 33 #include "platform/geometry/LayoutRect.h" |
34 #include "platform/graphics/Color.h" | 34 #include "platform/graphics/Color.h" |
35 #include "wtf/Forward.h" | 35 #include "wtf/Forward.h" |
36 #include "wtf/OwnPtr.h" | 36 #include "wtf/OwnPtr.h" |
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 Element; | 42 class Element; |
42 class FloatSize; | 43 class FloatSize; |
43 class Frame; | 44 class Frame; |
44 class KURL; | 45 class KURL; |
45 class Node; | 46 class Node; |
46 class OverflowEvent; | 47 class OverflowEvent; |
47 class Page; | 48 class Page; |
48 class RenderBox; | 49 class RenderBox; |
49 class RenderEmbeddedObject; | 50 class RenderEmbeddedObject; |
50 class RenderObject; | 51 class RenderObject; |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 void setHasSoftwareFilters(bool hasSoftwareFilters) { m_hasSoftwareFilters =
hasSoftwareFilters; } | 337 void setHasSoftwareFilters(bool hasSoftwareFilters) { m_hasSoftwareFilters =
hasSoftwareFilters; } |
337 bool hasSoftwareFilters() const { return m_hasSoftwareFilters; } | 338 bool hasSoftwareFilters() const { return m_hasSoftwareFilters; } |
338 | 339 |
339 virtual bool isActive() const OVERRIDE; | 340 virtual bool isActive() const OVERRIDE; |
340 | 341 |
341 // DEPRECATED: Use viewportConstrainedVisibleContentRect() instead. | 342 // DEPRECATED: Use viewportConstrainedVisibleContentRect() instead. |
342 IntSize scrollOffsetForFixedPosition() const; | 343 IntSize scrollOffsetForFixedPosition() const; |
343 | 344 |
344 PartialLayoutState& partialLayout() { return m_partialLayout; } | 345 PartialLayoutState& partialLayout() { return m_partialLayout; } |
345 | 346 |
| 347 // Override scrollbar notifications to update the AXObject cache. |
| 348 virtual void didAddScrollbar(Scrollbar*, ScrollbarOrientation) OVERRIDE; |
| 349 virtual void willRemoveScrollbar(Scrollbar*, ScrollbarOrientation) OVERRIDE; |
| 350 |
346 class DeferredRepaintScope { | 351 class DeferredRepaintScope { |
347 public: | 352 public: |
348 DeferredRepaintScope(FrameView&); | 353 DeferredRepaintScope(FrameView&); |
349 ~DeferredRepaintScope(); | 354 ~DeferredRepaintScope(); |
350 private: | 355 private: |
351 RefPtr<FrameView> m_view; | 356 RefPtr<FrameView> m_view; |
352 }; | 357 }; |
353 | 358 |
354 protected: | 359 protected: |
355 virtual bool scrollContentsFastPath(const IntSize& scrollDelta, const IntRec
t& rectToScroll, const IntRect& clipRect); | 360 virtual bool scrollContentsFastPath(const IntSize& scrollDelta, const IntRec
t& rectToScroll, const IntRect& clipRect); |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
598 ASSERT(!widget || widget->isFrameView()); | 603 ASSERT(!widget || widget->isFrameView()); |
599 return static_cast<const FrameView*>(widget); | 604 return static_cast<const FrameView*>(widget); |
600 } | 605 } |
601 | 606 |
602 // This will catch anyone doing an unnecessary cast. | 607 // This will catch anyone doing an unnecessary cast. |
603 void toFrameView(const FrameView*); | 608 void toFrameView(const FrameView*); |
604 | 609 |
605 } // namespace WebCore | 610 } // namespace WebCore |
606 | 611 |
607 #endif // FrameView_h | 612 #endif // FrameView_h |
OLD | NEW |