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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 class ScrollingCoordinator; | 72 class ScrollingCoordinator; |
73 class TracedValue; | 73 class TracedValue; |
74 struct AnnotatedRegionValue; | 74 struct AnnotatedRegionValue; |
75 struct CompositedSelection; | 75 struct CompositedSelection; |
76 | 76 |
77 typedef unsigned long long DOMTimeStamp; | 77 typedef unsigned long long DOMTimeStamp; |
78 | 78 |
79 class CORE_EXPORT FrameView final : public Widget, public ScrollableArea { | 79 class CORE_EXPORT FrameView final : public Widget, public ScrollableArea { |
80 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(FrameView); | 80 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(FrameView); |
81 | 81 |
82 friend class DisplayItemListPaintTestForSlimmingPaintV2; | 82 friend class PaintControllerPaintTestForSlimmingPaintV2; |
83 friend class Internals; | 83 friend class Internals; |
84 friend class LayoutPart; // for invalidateTreeIfNeeded | 84 friend class LayoutPart; // for invalidateTreeIfNeeded |
85 | 85 |
86 public: | 86 public: |
87 static PassRefPtrWillBeRawPtr<FrameView> create(LocalFrame*); | 87 static PassRefPtrWillBeRawPtr<FrameView> create(LocalFrame*); |
88 static PassRefPtrWillBeRawPtr<FrameView> create(LocalFrame*, const IntSize&
initialSize); | 88 static PassRefPtrWillBeRawPtr<FrameView> create(LocalFrame*, const IntSize&
initialSize); |
89 | 89 |
90 ~FrameView() override; | 90 ~FrameView() override; |
91 | 91 |
92 void invalidateRect(const IntRect&) override; | 92 void invalidateRect(const IntRect&) override; |
(...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
855 static const unsigned visualPixelThreshold = 32 * 32; | 855 static const unsigned visualPixelThreshold = 32 * 32; |
856 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 856 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
857 setIsVisuallyNonEmpty(); | 857 setIsVisuallyNonEmpty(); |
858 } | 858 } |
859 | 859 |
860 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 860 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
861 | 861 |
862 } // namespace blink | 862 } // namespace blink |
863 | 863 |
864 #endif // FrameView_h | 864 #endif // FrameView_h |
OLD | NEW |