OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 RootLayerAttachment rootLayerAttachment() const { return m_rootLayerAttachme
nt; } | 129 RootLayerAttachment rootLayerAttachment() const { return m_rootLayerAttachme
nt; } |
130 void updateRootLayerAttachment(); | 130 void updateRootLayerAttachment(); |
131 void updateRootLayerPosition(); | 131 void updateRootLayerPosition(); |
132 | 132 |
133 void setIsInWindow(bool); | 133 void setIsInWindow(bool); |
134 | 134 |
135 // Update the geometry of the layers used for clipping and scrolling in fram
es. | 135 // Update the geometry of the layers used for clipping and scrolling in fram
es. |
136 void frameViewDidChangeLocation(const IntPoint& contentsOffset); | 136 void frameViewDidChangeLocation(const IntPoint& contentsOffset); |
137 void frameViewDidChangeSize(); | 137 void frameViewDidChangeSize(); |
138 void frameViewDidScroll(); | 138 void frameViewDidScroll(); |
139 void frameViewScrollbarsExistenceDidChange(); | |
140 void rootFixedBackgroundsChanged(); | 139 void rootFixedBackgroundsChanged(); |
141 | 140 |
142 bool scrollingLayerDidChange(RenderLayer*); | 141 bool scrollingLayerDidChange(RenderLayer*); |
143 | 142 |
144 String layerTreeAsText(LayerTreeFlags); | 143 String layerTreeAsText(LayerTreeFlags); |
145 | 144 |
146 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo
ntalScrollbar.get(); } | 145 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo
ntalScrollbar.get(); } |
147 GraphicsLayer* layerForVerticalScrollbar() const { return m_layerForVertical
Scrollbar.get(); } | 146 GraphicsLayer* layerForVerticalScrollbar() const { return m_layerForVertical
Scrollbar.get(); } |
148 GraphicsLayer* layerForScrollCorner() const { return m_layerForScrollCorner.
get(); } | 147 GraphicsLayer* layerForScrollCorner() const { return m_layerForScrollCorner.
get(); } |
149 | 148 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 | 230 |
232 // Layers for overflow controls | 231 // Layers for overflow controls |
233 OwnPtr<GraphicsLayer> m_layerForHorizontalScrollbar; | 232 OwnPtr<GraphicsLayer> m_layerForHorizontalScrollbar; |
234 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; | 233 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; |
235 OwnPtr<GraphicsLayer> m_layerForScrollCorner; | 234 OwnPtr<GraphicsLayer> m_layerForScrollCorner; |
236 }; | 235 }; |
237 | 236 |
238 } // namespace blink | 237 } // namespace blink |
239 | 238 |
240 #endif // RenderLayerCompositor_h | 239 #endif // RenderLayerCompositor_h |
OLD | NEW |