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

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

Issue 23819019: Refactor fixed layout mode (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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
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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 165
166 static RenderLayerCompositor* frameContentsCompositor(RenderPart*); 166 static RenderLayerCompositor* frameContentsCompositor(RenderPart*);
167 // Return true if the layers changed. 167 // Return true if the layers changed.
168 static bool parentFrameContentLayers(RenderPart*); 168 static bool parentFrameContentLayers(RenderPart*);
169 169
170 // Update the geometry of the layers used for clipping and scrolling in fram es. 170 // Update the geometry of the layers used for clipping and scrolling in fram es.
171 void frameViewDidChangeLocation(const IntPoint& contentsOffset); 171 void frameViewDidChangeLocation(const IntPoint& contentsOffset);
172 void frameViewDidChangeSize(); 172 void frameViewDidChangeSize();
173 void frameViewDidScroll(); 173 void frameViewDidScroll();
174 void frameViewDidLayout(); 174 void frameViewDidLayout();
175 void frameViewScrollbarsExistenceDidChange();
175 void rootFixedBackgroundsChanged(); 176 void rootFixedBackgroundsChanged();
176 177
177 bool scrollingLayerDidChange(RenderLayer*); 178 bool scrollingLayerDidChange(RenderLayer*);
178 179
179 String layerTreeAsText(LayerTreeFlags); 180 String layerTreeAsText(LayerTreeFlags);
180 181
181 virtual void didCommitChangesForLayer(const GraphicsLayer*) const OVERRIDE; 182 virtual void didCommitChangesForLayer(const GraphicsLayer*) const OVERRIDE;
182 183
183 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo ntalScrollbar.get(); } 184 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo ntalScrollbar.get(); }
184 GraphicsLayer* layerForVerticalScrollbar() const { return m_layerForVertical Scrollbar.get(); } 185 GraphicsLayer* layerForVerticalScrollbar() const { return m_layerForVertical Scrollbar.get(); }
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 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.
361 double m_obligatoryBackingStoreBytes; 362 double m_obligatoryBackingStoreBytes;
362 double m_secondaryBackingStoreBytes; 363 double m_secondaryBackingStoreBytes;
363 #endif 364 #endif
364 }; 365 };
365 366
366 367
367 } // namespace WebCore 368 } // namespace WebCore
368 369
369 #endif // RenderLayerCompositor_h 370 #endif // RenderLayerCompositor_h
OLDNEW
« no previous file with comments | « Source/core/platform/chromium/FramelessScrollView.cpp ('k') | Source/core/rendering/RenderLayerCompositor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698