| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 class LocalFrame; | 46 class LocalFrame; |
| 47 class KURL; | 47 class KURL; |
| 48 class Node; | 48 class Node; |
| 49 class Page; | 49 class Page; |
| 50 class RenderBox; | 50 class RenderBox; |
| 51 class RenderEmbeddedObject; | 51 class RenderEmbeddedObject; |
| 52 class RenderObject; | 52 class RenderObject; |
| 53 class RenderScrollbarPart; | 53 class RenderScrollbarPart; |
| 54 class RenderView; | 54 class RenderView; |
| 55 class RenderWidget; | 55 class RenderWidget; |
| 56 struct CompositedSelectionBound; |
| 56 | 57 |
| 57 typedef unsigned long long DOMTimeStamp; | 58 typedef unsigned long long DOMTimeStamp; |
| 58 | 59 |
| 59 // FIXME: Oilpan: move Widget (and thereby FrameView) to the heap. | 60 // FIXME: Oilpan: move Widget (and thereby FrameView) to the heap. |
| 60 class FrameView FINAL : public ScrollView { | 61 class FrameView FINAL : public ScrollView { |
| 61 public: | 62 public: |
| 62 friend class RenderView; | 63 friend class RenderView; |
| 63 friend class Internals; | 64 friend class Internals; |
| 64 | 65 |
| 65 static PassRefPtr<FrameView> create(LocalFrame*); | 66 static PassRefPtr<FrameView> create(LocalFrame*); |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 | 387 |
| 387 void scheduleUpdateWidgetsIfNecessary(); | 388 void scheduleUpdateWidgetsIfNecessary(); |
| 388 void updateWidgetsTimerFired(Timer<FrameView>*); | 389 void updateWidgetsTimerFired(Timer<FrameView>*); |
| 389 bool updateWidgets(); | 390 bool updateWidgets(); |
| 390 | 391 |
| 391 void scrollToAnchor(); | 392 void scrollToAnchor(); |
| 392 void scrollPositionChanged(); | 393 void scrollPositionChanged(); |
| 393 void didScrollTimerFired(Timer<FrameView>*); | 394 void didScrollTimerFired(Timer<FrameView>*); |
| 394 | 395 |
| 395 void updateLayersAndCompositingAfterScrollIfNeeded(); | 396 void updateLayersAndCompositingAfterScrollIfNeeded(); |
| 397 |
| 398 static bool computeCompositedSelectionBounds(LocalFrame&, CompositedSelectio
nBound& start, CompositedSelectionBound& end); |
| 396 void updateCompositedSelectionBoundsIfNeeded(); | 399 void updateCompositedSelectionBoundsIfNeeded(); |
| 397 | 400 |
| 398 bool hasCustomScrollbars() const; | 401 bool hasCustomScrollbars() const; |
| 399 bool shouldUseCustomScrollbars(Element*& customScrollbarElement, LocalFrame*
& customScrollbarFrame); | 402 bool shouldUseCustomScrollbars(Element*& customScrollbarElement, LocalFrame*
& customScrollbarFrame); |
| 400 | 403 |
| 401 virtual void updateScrollCorner() OVERRIDE; | 404 virtual void updateScrollCorner() OVERRIDE; |
| 402 | 405 |
| 403 FrameView* parentFrameView() const; | 406 FrameView* parentFrameView() const; |
| 404 | 407 |
| 405 AXObjectCache* axObjectCache() const; | 408 AXObjectCache* axObjectCache() const; |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 550 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); | 553 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); |
| 551 } | 554 } |
| 552 private: | 555 private: |
| 553 FrameView* m_view; | 556 FrameView* m_view; |
| 554 bool m_originalValue; | 557 bool m_originalValue; |
| 555 }; | 558 }; |
| 556 | 559 |
| 557 } // namespace blink | 560 } // namespace blink |
| 558 | 561 |
| 559 #endif // FrameView_h | 562 #endif // FrameView_h |
| OLD | NEW |