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

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

Issue 138453004: Pinch/Zoom Infrastructure & Plumbing CL (Prequel) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use setContentsRect() instead of directly accessing contentLayer bounds. Created 6 years, 11 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 134
135 // Get the nearest ancestor layer that has overflow or clip, but is not a st acking context 135 // Get the nearest ancestor layer that has overflow or clip, but is not a st acking context
136 RenderLayer* enclosingNonStackingClippingLayer(const RenderLayer* layer) con st; 136 RenderLayer* enclosingNonStackingClippingLayer(const RenderLayer* layer) con st;
137 137
138 // Repaint parts of all composited layers that intersect the given absolute rectangle (or the entire layer if the pointer is null). 138 // Repaint parts of all composited layers that intersect the given absolute rectangle (or the entire layer if the pointer is null).
139 void repaintCompositedLayers(const IntRect* = 0); 139 void repaintCompositedLayers(const IntRect* = 0);
140 140
141 RenderLayer* rootRenderLayer() const; 141 RenderLayer* rootRenderLayer() const;
142 GraphicsLayer* rootGraphicsLayer() const; 142 GraphicsLayer* rootGraphicsLayer() const;
143 GraphicsLayer* scrollLayer() const; 143 GraphicsLayer* scrollLayer() const;
144 GraphicsLayer* containerLayer() const;
144 145
145 enum RootLayerAttachment { 146 enum RootLayerAttachment {
146 RootLayerUnattached, 147 RootLayerUnattached,
147 RootLayerAttachedViaChromeClient, 148 RootLayerAttachedViaChromeClient,
148 RootLayerAttachedViaEnclosingFrame 149 RootLayerAttachedViaEnclosingFrame
149 }; 150 };
150 151
151 RootLayerAttachment rootLayerAttachment() const { return m_rootLayerAttachme nt; } 152 RootLayerAttachment rootLayerAttachment() const { return m_rootLayerAttachme nt; }
152 void updateRootLayerAttachment(); 153 void updateRootLayerAttachment();
153 void updateRootLayerPosition(); 154 void updateRootLayerPosition();
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 OwnPtr<GraphicsLayer> m_layerForScrollCorner; 369 OwnPtr<GraphicsLayer> m_layerForScrollCorner;
369 #if USE(RUBBER_BANDING) 370 #if USE(RUBBER_BANDING)
370 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; 371 OwnPtr<GraphicsLayer> m_layerForOverhangShadow;
371 #endif 372 #endif
372 }; 373 };
373 374
374 375
375 } // namespace WebCore 376 } // namespace WebCore
376 377
377 #endif // RenderLayerCompositor_h 378 #endif // RenderLayerCompositor_h
OLDNEW
« no previous file with comments | « Source/core/page/scrolling/ScrollingCoordinator.cpp ('k') | Source/core/rendering/RenderLayerCompositor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698