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

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

Issue 19019004: Set root clip layer not to maskToBounds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Another ClipLayer rename Created 7 years, 5 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/rendering/RenderLayerCompositor.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) 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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 bool m_compositing; 323 bool m_compositing;
324 bool m_compositingLayersNeedRebuild; 324 bool m_compositingLayersNeedRebuild;
325 bool m_forceCompositingMode; 325 bool m_forceCompositingMode;
326 bool m_inPostLayoutUpdate; // true when it's OK to trust layout information (e.g. layer sizes and positions) 326 bool m_inPostLayoutUpdate; // true when it's OK to trust layout information (e.g. layer sizes and positions)
327 bool m_needsUpdateCompositingRequirementsState; 327 bool m_needsUpdateCompositingRequirementsState;
328 328
329 bool m_isTrackingRepaints; // Used for testing. 329 bool m_isTrackingRepaints; // Used for testing.
330 330
331 RootLayerAttachment m_rootLayerAttachment; 331 RootLayerAttachment m_rootLayerAttachment;
332 332
333 // Enclosing clipping layer for iframe content 333 // Enclosing container layer, which clips for iframe content
334 OwnPtr<GraphicsLayer> m_clipLayer; 334 OwnPtr<GraphicsLayer> m_containerLayer;
335 OwnPtr<GraphicsLayer> m_scrollLayer; 335 OwnPtr<GraphicsLayer> m_scrollLayer;
336 336
337 HashSet<RenderLayer*> m_viewportConstrainedLayers; 337 HashSet<RenderLayer*> m_viewportConstrainedLayers;
338 HashSet<RenderLayer*> m_viewportConstrainedLayersNeedingUpdate; 338 HashSet<RenderLayer*> m_viewportConstrainedLayersNeedingUpdate;
339 339
340 // This is used in updateCompositingRequirementsState to avoid full tree 340 // This is used in updateCompositingRequirementsState to avoid full tree
341 // walks while determining if layers have unclipped descendants. 341 // walks while determining if layers have unclipped descendants.
342 HashSet<RenderLayer*> m_outOfFlowPositionedLayers; 342 HashSet<RenderLayer*> m_outOfFlowPositionedLayers;
343 343
344 // Enclosing layer for overflow controls and the clipping layer 344 // Enclosing layer for overflow controls and the clipping layer
(...skipping 16 matching lines...) Expand all
361 int m_secondaryCompositedLayerCount; // count of layers that have to be comp osited because of stacking or overlap. 361 int m_secondaryCompositedLayerCount; // count of layers that have to be comp osited because of stacking or overlap.
362 double m_obligatoryBackingStoreBytes; 362 double m_obligatoryBackingStoreBytes;
363 double m_secondaryBackingStoreBytes; 363 double m_secondaryBackingStoreBytes;
364 #endif 364 #endif
365 }; 365 };
366 366
367 367
368 } // namespace WebCore 368 } // namespace WebCore
369 369
370 #endif // RenderLayerCompositor_h 370 #endif // RenderLayerCompositor_h
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/rendering/RenderLayerCompositor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698