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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 AtomicString mediaType() const; | 121 AtomicString mediaType() const; |
122 void setMediaType(const AtomicString&); | 122 void setMediaType(const AtomicString&); |
123 | 123 |
124 void postLayoutTimerFired(Timer<FrameView>*); | 124 void postLayoutTimerFired(Timer<FrameView>*); |
125 | 125 |
126 void paint(GraphicsContext* context, const IntRect& rect) override; | 126 void paint(GraphicsContext* context, const IntRect& rect) override; |
127 | 127 |
128 bool isPainting() const; | 128 bool isPainting() const; |
129 bool hasEverPainted() const { return m_lastPaintTime; } | 129 bool hasEverPainted() const { return m_lastPaintTime; } |
130 | 130 |
131 Color documentBackgroundColor() const; | |
132 | |
133 static double currentFrameTimeStamp() { return s_currentFrameTimeStamp; } | 131 static double currentFrameTimeStamp() { return s_currentFrameTimeStamp; } |
134 | 132 |
135 void updateLayoutAndStyleForPainting(); | 133 void updateLayoutAndStyleForPainting(); |
136 void updateLayoutAndStyleIfNeededRecursive(); | 134 void updateLayoutAndStyleIfNeededRecursive(); |
137 | 135 |
138 void forceLayout(bool allowSubtree = false); | 136 void forceLayout(bool allowSubtree = false); |
139 | 137 |
140 // Methods to convert points and rects between the coordinate space of the r
enderer, and this view. | 138 // Methods to convert points and rects between the coordinate space of the r
enderer, and this view. |
141 IntRect convertFromRenderer(const RenderObject&, const IntRect&) const; | 139 IntRect convertFromRenderer(const RenderObject&, const IntRect&) const; |
142 IntRect convertToRenderer(const RenderObject&, const IntRect&) const; | 140 IntRect convertToRenderer(const RenderObject&, const IntRect&) const; |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 bool m_layoutSizeFixedToFrameSize; | 243 bool m_layoutSizeFixedToFrameSize; |
246 | 244 |
247 Vector<IntRect> m_tickmarks; | 245 Vector<IntRect> m_tickmarks; |
248 }; | 246 }; |
249 | 247 |
250 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 248 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
251 | 249 |
252 } // namespace blink | 250 } // namespace blink |
253 | 251 |
254 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ | 252 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ |
OLD | NEW |