| 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 | 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights |
| 8 reserved. | 8 reserved. |
| 9 | 9 |
| 10 This library is free software; you can redistribute it and/or | 10 This library is free software; you can redistribute it and/or |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 | 183 |
| 184 bool isEnclosedInCompositingLayer() const; | 184 bool isEnclosedInCompositingLayer() const; |
| 185 | 185 |
| 186 void dispose() override; | 186 void dispose() override; |
| 187 void detachScrollbars(); | 187 void detachScrollbars(); |
| 188 void recalculateCustomScrollbarStyle(); | 188 void recalculateCustomScrollbarStyle(); |
| 189 void invalidateAllCustomScrollbarsOnActiveChanged(); | 189 void invalidateAllCustomScrollbarsOnActiveChanged(); |
| 190 | 190 |
| 191 void clear(); | 191 void clear(); |
| 192 | 192 |
| 193 bool isTransparent() const; | 193 // True if the FrameView's base background color is completely opaque. |
| 194 void setTransparent(bool isTransparent); | |
| 195 | |
| 196 // True if the FrameView is not transparent, and the base background color is | |
| 197 // opaque. | |
| 198 bool hasOpaqueBackground() const; | 194 bool hasOpaqueBackground() const; |
| 199 | 195 |
| 200 Color baseBackgroundColor() const; | 196 Color baseBackgroundColor() const; |
| 201 void setBaseBackgroundColor(const Color&); | 197 void setBaseBackgroundColor(const Color&); |
| 202 void updateBackgroundRecursively(const Color&, bool); | 198 void updateBaseBackgroundColorRecursively(const Color&); |
| 203 | 199 |
| 204 void adjustViewSize(); | 200 void adjustViewSize(); |
| 205 void adjustViewSizeAndLayout(); | 201 void adjustViewSizeAndLayout(); |
| 206 | 202 |
| 207 // Scale used to convert incoming input events. | 203 // Scale used to convert incoming input events. |
| 208 float inputEventsScaleFactor() const; | 204 float inputEventsScaleFactor() const; |
| 209 | 205 |
| 210 // Offset used to convert incoming input events while emulating device metics. | 206 // Offset used to convert incoming input events while emulating device metics. |
| 211 IntSize inputEventsOffsetForEmulation() const; | 207 IntSize inputEventsOffsetForEmulation() const; |
| 212 void setInputEventsTransformForEmulation(const IntSize&, float); | 208 void setInputEventsTransformForEmulation(const IntSize&, float); |
| (...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1077 DepthOrderedLayoutObjectList m_orthogonalWritingModeRootList; | 1073 DepthOrderedLayoutObjectList m_orthogonalWritingModeRootList; |
| 1078 | 1074 |
| 1079 bool m_layoutSchedulingEnabled; | 1075 bool m_layoutSchedulingEnabled; |
| 1080 bool m_inSynchronousPostLayout; | 1076 bool m_inSynchronousPostLayout; |
| 1081 int m_layoutCount; | 1077 int m_layoutCount; |
| 1082 unsigned m_nestedLayoutCount; | 1078 unsigned m_nestedLayoutCount; |
| 1083 TaskRunnerTimer<FrameView> m_postLayoutTasksTimer; | 1079 TaskRunnerTimer<FrameView> m_postLayoutTasksTimer; |
| 1084 TaskRunnerTimer<FrameView> m_updatePluginsTimer; | 1080 TaskRunnerTimer<FrameView> m_updatePluginsTimer; |
| 1085 | 1081 |
| 1086 bool m_firstLayout; | 1082 bool m_firstLayout; |
| 1087 bool m_isTransparent; | |
| 1088 Color m_baseBackgroundColor; | 1083 Color m_baseBackgroundColor; |
| 1089 IntSize m_lastViewportSize; | 1084 IntSize m_lastViewportSize; |
| 1090 float m_lastZoomFactor; | 1085 float m_lastZoomFactor; |
| 1091 | 1086 |
| 1092 AtomicString m_mediaType; | 1087 AtomicString m_mediaType; |
| 1093 AtomicString m_mediaTypeWhenNotPrinting; | 1088 AtomicString m_mediaTypeWhenNotPrinting; |
| 1094 | 1089 |
| 1095 bool m_safeToPropagateScrollToParent; | 1090 bool m_safeToPropagateScrollToParent; |
| 1096 | 1091 |
| 1097 unsigned m_visuallyNonEmptyCharacterCount; | 1092 unsigned m_visuallyNonEmptyCharacterCount; |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1266 frameViewBase.isFrameView()); | 1261 frameViewBase.isFrameView()); |
| 1267 DEFINE_TYPE_CASTS(FrameView, | 1262 DEFINE_TYPE_CASTS(FrameView, |
| 1268 ScrollableArea, | 1263 ScrollableArea, |
| 1269 scrollableArea, | 1264 scrollableArea, |
| 1270 scrollableArea->isFrameView(), | 1265 scrollableArea->isFrameView(), |
| 1271 scrollableArea.isFrameView()); | 1266 scrollableArea.isFrameView()); |
| 1272 | 1267 |
| 1273 } // namespace blink | 1268 } // namespace blink |
| 1274 | 1269 |
| 1275 #endif // FrameView_h | 1270 #endif // FrameView_h |
| OLD | NEW |