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

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

Issue 687783003: More cleanup of dead code now that we don't have frame-level scrolling. (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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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