Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Side by Side Diff: Source/core/rendering/RenderLayerCompositor.h

Issue 18187004: Don't update graphics layer positions during coordinated scrolling (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Set define in core.gyp Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 // Return true if the layers changed. 168 // Return true if the layers changed.
169 static bool parentFrameContentLayers(RenderPart*); 169 static bool parentFrameContentLayers(RenderPart*);
170 170
171 // Update the geometry of the layers used for clipping and scrolling in fram es. 171 // Update the geometry of the layers used for clipping and scrolling in fram es.
172 void frameViewDidChangeLocation(const IntPoint& contentsOffset); 172 void frameViewDidChangeLocation(const IntPoint& contentsOffset);
173 void frameViewDidChangeSize(); 173 void frameViewDidChangeSize();
174 void frameViewDidScroll(); 174 void frameViewDidScroll();
175 void frameViewDidLayout(); 175 void frameViewDidLayout();
176 void rootFixedBackgroundsChanged(); 176 void rootFixedBackgroundsChanged();
177 177
178 void scrollingLayerDidChange(RenderLayer*); 178 bool scrollingLayerDidChange(RenderLayer*);
179 179
180 String layerTreeAsText(LayerTreeFlags); 180 String layerTreeAsText(LayerTreeFlags);
181 181
182 virtual void didCommitChangesForLayer(const GraphicsLayer*) const OVERRIDE; 182 virtual void didCommitChangesForLayer(const GraphicsLayer*) const OVERRIDE;
183 183
184 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo ntalScrollbar.get(); } 184 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo ntalScrollbar.get(); }
185 GraphicsLayer* layerForVerticalScrollbar() const { return m_layerForVertical Scrollbar.get(); } 185 GraphicsLayer* layerForVerticalScrollbar() const { return m_layerForVertical Scrollbar.get(); }
186 GraphicsLayer* layerForScrollCorner() const { return m_layerForScrollCorner. get(); } 186 GraphicsLayer* layerForScrollCorner() const { return m_layerForScrollCorner. get(); }
187 #if ENABLE(RUBBER_BANDING) 187 #if ENABLE(RUBBER_BANDING)
188 GraphicsLayer* layerForOverhangAreas() const { return m_layerForOverhangArea s.get(); } 188 GraphicsLayer* layerForOverhangAreas() const { return m_layerForOverhangArea s.get(); }
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 int m_secondaryCompositedLayerCount; // count of layers that have to be comp osited because of stacking or overlap. 361 int m_secondaryCompositedLayerCount; // count of layers that have to be comp osited because of stacking or overlap.
362 double m_obligatoryBackingStoreBytes; 362 double m_obligatoryBackingStoreBytes;
363 double m_secondaryBackingStoreBytes; 363 double m_secondaryBackingStoreBytes;
364 #endif 364 #endif
365 }; 365 };
366 366
367 367
368 } // namespace WebCore 368 } // namespace WebCore
369 369
370 #endif // RenderLayerCompositor_h 370 #endif // RenderLayerCompositor_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderLayerBacking.cpp ('k') | Source/core/rendering/RenderLayerCompositor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698