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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
147 | 147 |
148 // True if the FrameView is not transparent, and the base background color i s opaque. | 148 // True if the FrameView is not transparent, and the base background color i s opaque. |
149 bool hasOpaqueBackground() const; | 149 bool hasOpaqueBackground() const; |
150 | 150 |
151 Color baseBackgroundColor() const; | 151 Color baseBackgroundColor() const; |
152 void setBaseBackgroundColor(const Color&); | 152 void setBaseBackgroundColor(const Color&); |
153 void updateBackgroundRecursively(const Color&, bool); | 153 void updateBackgroundRecursively(const Color&, bool); |
154 | 154 |
155 void adjustViewSize(); | 155 void adjustViewSize(); |
156 | 156 |
157 IntRect windowClipRectForFrameOwner(const HTMLFrameOwnerElement*) const; | 157 // |clipRect| may not be nullptr. |unobscuredRect| is the clip rect that is not clipped to the root window. It may be nullptr. |
Julien - ping for review
2015/03/27 21:26:07
I assume this should read: |clipRect| must not be
tommycli
2015/03/27 22:42:51
Done.
| |
158 void getClipRectsForFrameOwner(const HTMLFrameOwnerElement*, IntRect* clipRe ct, IntRect* unobscuredRect) const; | |
158 | 159 |
159 float visibleContentScaleFactor() const { return m_visibleContentScaleFactor ; } | 160 float visibleContentScaleFactor() const { return m_visibleContentScaleFactor ; } |
160 void setVisibleContentScaleFactor(float); | 161 void setVisibleContentScaleFactor(float); |
161 | 162 |
162 // Scale used to convert incoming input events. Usually the same as visibleC ontentScaleFactor(), unless specifically changed. | 163 // Scale used to convert incoming input events. Usually the same as visibleC ontentScaleFactor(), unless specifically changed. |
163 float inputEventsScaleFactor() const; | 164 float inputEventsScaleFactor() const; |
164 // Offset used to convert incoming input events while emulating device metic s. | 165 // Offset used to convert incoming input events while emulating device metic s. |
165 IntSize inputEventsOffsetForEmulation() const; | 166 IntSize inputEventsOffsetForEmulation() const; |
166 void setInputEventsTransformForEmulation(const IntSize&, float); | 167 void setInputEventsTransformForEmulation(const IntSize&, float); |
167 | 168 |
(...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
871 static const unsigned visualPixelThreshold = 32 * 32; | 872 static const unsigned visualPixelThreshold = 32 * 32; |
872 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 873 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
873 setIsVisuallyNonEmpty(); | 874 setIsVisuallyNonEmpty(); |
874 } | 875 } |
875 | 876 |
876 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView()); | 877 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView()); |
877 | 878 |
878 } // namespace blink | 879 } // namespace blink |
879 | 880 |
880 #endif // FrameView_h | 881 #endif // FrameView_h |
OLD | NEW |