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

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

Issue 16799005: Insert pinch zoom virtual viewport layers to graphics layer tree. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add new viewport layers above overflowControlsHost. Created 7 years, 6 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 RenderLayer* enclosingNonStackingClippingLayer(const RenderLayer* layer) con st; 131 RenderLayer* enclosingNonStackingClippingLayer(const RenderLayer* layer) con st;
132 132
133 // Repaint parts of all composited layers that intersect the given absolute rectangle (or the entire layer if the pointer is null). 133 // Repaint parts of all composited layers that intersect the given absolute rectangle (or the entire layer if the pointer is null).
134 void repaintCompositedLayers(const IntRect* = 0); 134 void repaintCompositedLayers(const IntRect* = 0);
135 135
136 // Returns true if the given layer needs it own backing store. 136 // Returns true if the given layer needs it own backing store.
137 bool requiresOwnBackingStore(const RenderLayer*, const RenderLayer* composit ingAncestorLayer) const; 137 bool requiresOwnBackingStore(const RenderLayer*, const RenderLayer* composit ingAncestorLayer) const;
138 138
139 RenderLayer* rootRenderLayer() const; 139 RenderLayer* rootRenderLayer() const;
140 GraphicsLayer* rootGraphicsLayer() const; 140 GraphicsLayer* rootGraphicsLayer() const;
141 GraphicsLayer* clipLayer() const;
trchen 2013/06/13 21:11:54 nits: We probably don't need this accessor anymore
wjmaclean 2013/06/14 15:54:16 Done.
141 GraphicsLayer* scrollLayer() const; 142 GraphicsLayer* scrollLayer() const;
142 143
143 enum RootLayerAttachment { 144 enum RootLayerAttachment {
144 RootLayerUnattached, 145 RootLayerUnattached,
145 RootLayerAttachedViaChromeClient, 146 RootLayerAttachedViaChromeClient,
146 RootLayerAttachedViaEnclosingFrame 147 RootLayerAttachedViaEnclosingFrame
147 }; 148 };
148 149
149 RootLayerAttachment rootLayerAttachment() const { return m_rootLayerAttachme nt; } 150 RootLayerAttachment rootLayerAttachment() const { return m_rootLayerAttachme nt; }
150 void updateRootLayerAttachment(); 151 void updateRootLayerAttachment();
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 int m_secondaryCompositedLayerCount; // count of layers that have to be comp osited because of stacking or overlap. 365 int m_secondaryCompositedLayerCount; // count of layers that have to be comp osited because of stacking or overlap.
365 double m_obligatoryBackingStoreBytes; 366 double m_obligatoryBackingStoreBytes;
366 double m_secondaryBackingStoreBytes; 367 double m_secondaryBackingStoreBytes;
367 #endif 368 #endif
368 }; 369 };
369 370
370 371
371 } // namespace WebCore 372 } // namespace WebCore
372 373
373 #endif // RenderLayerCompositor_h 374 #endif // RenderLayerCompositor_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698