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

Side by Side Diff: Source/WebCore/rendering/RenderLayerBacking.h

Issue 9120020: Revert 98735 - Source/WebCore: The HTML5 video element in Safari does not respect "visibility:hid... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2009, 2010, 2011 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 // Returns true if this layer has content that needs to be rendered by paint ing into the backing store. 181 // Returns true if this layer has content that needs to be rendered by paint ing into the backing store.
182 bool containsPaintedContent() const; 182 bool containsPaintedContent() const;
183 // Returns true if the RenderLayer just contains an image that we can compos ite directly. 183 // Returns true if the RenderLayer just contains an image that we can compos ite directly.
184 bool isDirectlyCompositedImage() const; 184 bool isDirectlyCompositedImage() const;
185 void updateImageContents(); 185 void updateImageContents();
186 186
187 bool rendererHasBackground() const; 187 bool rendererHasBackground() const;
188 Color rendererBackgroundColor() const; 188 Color rendererBackgroundColor() const;
189 void updateBackgroundColor(); 189 void updateBackgroundColor();
190 190
191 bool hasVisibleNonCompositingDescendants() const; 191 bool hasNonCompositingDescendants() const;
192 192
193 void paintIntoLayer(RenderLayer* rootLayer, GraphicsContext*, const LayoutRe ct& paintDirtyRect, PaintBehavior, GraphicsLayerPaintingPhase, RenderObject* pai ntingRoot); 193 void paintIntoLayer(RenderLayer* rootLayer, GraphicsContext*, const LayoutRe ct& paintDirtyRect, PaintBehavior, GraphicsLayerPaintingPhase, RenderObject* pai ntingRoot);
194 194
195 static int graphicsLayerToCSSProperty(AnimatedPropertyID); 195 static int graphicsLayerToCSSProperty(AnimatedPropertyID);
196 static AnimatedPropertyID cssToGraphicsLayerProperty(int); 196 static AnimatedPropertyID cssToGraphicsLayerProperty(int);
197 197
198 #ifndef NDEBUG 198 #ifndef NDEBUG
199 String nameForLayer() const; 199 String nameForLayer() const;
200 #endif 200 #endif
201 201
(...skipping 12 matching lines...) Expand all
214 LayoutRect m_compositedBounds; 214 LayoutRect m_compositedBounds;
215 215
216 bool m_artificiallyInflatedBounds; // bounds had to be made non-zero to make transform-origin work 216 bool m_artificiallyInflatedBounds; // bounds had to be made non-zero to make transform-origin work
217 }; 217 };
218 218
219 } // namespace WebCore 219 } // namespace WebCore
220 220
221 #endif // USE(ACCELERATED_COMPOSITING) 221 #endif // USE(ACCELERATED_COMPOSITING)
222 222
223 #endif // RenderLayerBacking_h 223 #endif // RenderLayerBacking_h
OLDNEW
« no previous file with comments | « Source/WebCore/rendering/RenderLayer.cpp ('k') | Source/WebCore/rendering/RenderLayerBacking.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698