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

Side by Side Diff: sky/engine/core/rendering/compositing/RenderLayerCompositor.h

Issue 678193005: Remove more frame-level scrolling machinery. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 128
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();
139 void rootFixedBackgroundsChanged(); 138 void rootFixedBackgroundsChanged();
140 139
141 bool scrollingLayerDidChange(RenderLayer*); 140 bool scrollingLayerDidChange(RenderLayer*);
142 141
143 String layerTreeAsText(LayerTreeFlags); 142 String layerTreeAsText(LayerTreeFlags);
144 143
145 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo ntalScrollbar.get(); } 144 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo ntalScrollbar.get(); }
146 GraphicsLayer* layerForVerticalScrollbar() const { return m_layerForVertical Scrollbar.get(); } 145 GraphicsLayer* layerForVerticalScrollbar() const { return m_layerForVertical Scrollbar.get(); }
147 GraphicsLayer* layerForScrollCorner() const { return m_layerForScrollCorner. get(); } 146 GraphicsLayer* layerForScrollCorner() const { return m_layerForScrollCorner. get(); }
148 147
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 229
231 // Layers for overflow controls 230 // Layers for overflow controls
232 OwnPtr<GraphicsLayer> m_layerForHorizontalScrollbar; 231 OwnPtr<GraphicsLayer> m_layerForHorizontalScrollbar;
233 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; 232 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar;
234 OwnPtr<GraphicsLayer> m_layerForScrollCorner; 233 OwnPtr<GraphicsLayer> m_layerForScrollCorner;
235 }; 234 };
236 235
237 } // namespace blink 236 } // namespace blink
238 237
239 #endif // RenderLayerCompositor_h 238 #endif // RenderLayerCompositor_h
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderBox.cpp ('k') | sky/engine/core/rendering/compositing/RenderLayerCompositor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698