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

Side by Side Diff: WebCore/rendering/RenderLayer.h

Issue 5523003: Part 1 of merges for Chromium bug #64589... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/597/
Patch Set: Created 10 years 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
« no previous file with comments | « WebCore/page/ChromeClient.h ('k') | WebCore/rendering/RenderLayer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
5 * 5 *
6 * Other contributors: 6 * Other contributors:
7 * Robert O'Callahan <roc+@cs.cmu.edu> 7 * Robert O'Callahan <roc+@cs.cmu.edu>
8 * David Baron <dbaron@fas.harvard.edu> 8 * David Baron <dbaron@fas.harvard.edu>
9 * Christian Biesinger <cbiesinger@web.de> 9 * Christian Biesinger <cbiesinger@web.de>
10 * Randall Jesup <rjesup@wgate.com> 10 * Randall Jesup <rjesup@wgate.com>
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 #if USE(ACCELERATED_COMPOSITING) 281 #if USE(ACCELERATED_COMPOSITING)
282 RenderLayerCompositor* compositor() const; 282 RenderLayerCompositor* compositor() const;
283 283
284 // Notification from the renderer that its content changed (e.g. current fra me of image changed). 284 // Notification from the renderer that its content changed (e.g. current fra me of image changed).
285 // Allows updates of layer content without repainting. 285 // Allows updates of layer content without repainting.
286 void rendererContentChanged(); 286 void rendererContentChanged();
287 #endif 287 #endif
288 288
289 // Returns true if the accelerated compositing is enabled 289 // Returns true if the accelerated compositing is enabled
290 bool hasAcceleratedCompositing() const; 290 bool hasAcceleratedCompositing() const;
291 291
292 bool canRender3DTransforms() const;
293
292 void updateLayerPosition(); 294 void updateLayerPosition();
293 295
294 enum UpdateLayerPositionsFlag { 296 enum UpdateLayerPositionsFlag {
295 DoFullRepaint = 1, 297 DoFullRepaint = 1,
296 CheckForRepaint = 1 << 1, 298 CheckForRepaint = 1 << 1,
297 IsCompositingUpdateRoot = 1 << 2, 299 IsCompositingUpdateRoot = 1 << 2,
298 UpdateCompositingLayers = 1 << 3, 300 UpdateCompositingLayers = 1 << 3,
299 UpdatePagination = 1 << 4 301 UpdatePagination = 1 << 4
300 }; 302 };
301 typedef unsigned UpdateLayerPositionsFlags; 303 typedef unsigned UpdateLayerPositionsFlags;
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 693
692 } // namespace WebCore 694 } // namespace WebCore
693 695
694 #ifndef NDEBUG 696 #ifndef NDEBUG
695 // Outside the WebCore namespace for ease of invocation from gdb. 697 // Outside the WebCore namespace for ease of invocation from gdb.
696 void showLayerTree(const WebCore::RenderLayer*); 698 void showLayerTree(const WebCore::RenderLayer*);
697 void showLayerTree(const WebCore::RenderObject*); 699 void showLayerTree(const WebCore::RenderObject*);
698 #endif 700 #endif
699 701
700 #endif // RenderLayer_h 702 #endif // RenderLayer_h
OLDNEW
« no previous file with comments | « WebCore/page/ChromeClient.h ('k') | WebCore/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698