| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 | 102 |
| 103 bool isEnclosedInCompositingLayer() const; | 103 bool isEnclosedInCompositingLayer() const; |
| 104 | 104 |
| 105 void prepareForDetach(); | 105 void prepareForDetach(); |
| 106 | 106 |
| 107 void clear(); | 107 void clear(); |
| 108 | 108 |
| 109 bool isTransparent() const; | 109 bool isTransparent() const; |
| 110 void setTransparent(bool isTransparent); | 110 void setTransparent(bool isTransparent); |
| 111 | 111 |
| 112 // True if the FrameView is not transparent, and the base background color i
s opaque. | |
| 113 bool hasOpaqueBackground() const; | |
| 114 | |
| 115 Color baseBackgroundColor() const; | 112 Color baseBackgroundColor() const; |
| 116 void setBaseBackgroundColor(const Color&); | 113 void setBaseBackgroundColor(const Color&); |
| 117 void updateBackgroundRecursively(const Color&, bool); | 114 void updateBackgroundRecursively(const Color&, bool); |
| 118 | 115 |
| 119 IntRect windowClipRect(IncludeScrollbarsInRect = ExcludeScrollbars) const; | 116 IntRect windowClipRect(IncludeScrollbarsInRect = ExcludeScrollbars) const; |
| 120 | 117 |
| 121 float visibleContentScaleFactor() const { return m_visibleContentScaleFactor
; } | 118 float visibleContentScaleFactor() const { return m_visibleContentScaleFactor
; } |
| 122 void setVisibleContentScaleFactor(float); | 119 void setVisibleContentScaleFactor(float); |
| 123 | 120 |
| 124 float inputEventsScaleFactor() const; | 121 float inputEventsScaleFactor() const; |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 bool m_layoutSizeFixedToFrameSize; | 267 bool m_layoutSizeFixedToFrameSize; |
| 271 | 268 |
| 272 Vector<IntRect> m_tickmarks; | 269 Vector<IntRect> m_tickmarks; |
| 273 }; | 270 }; |
| 274 | 271 |
| 275 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 272 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
| 276 | 273 |
| 277 } // namespace blink | 274 } // namespace blink |
| 278 | 275 |
| 279 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ | 276 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ |
| OLD | NEW |