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

Side by Side Diff: Source/core/rendering/compositing/CompositedLayerMapping.h

Issue 327323002: Start removing the double-negative !ASSERT_DISABLED (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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, 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 void updateFilters(const RenderStyle*); 181 void updateFilters(const RenderStyle*);
182 bool canCompositeFilters() const { return m_canCompositeFilters; } 182 bool canCompositeFilters() const { return m_canCompositeFilters; }
183 183
184 void setBlendMode(blink::WebBlendMode); 184 void setBlendMode(blink::WebBlendMode);
185 185
186 void setNeedsGraphicsLayerUpdate(); 186 void setNeedsGraphicsLayerUpdate();
187 bool shouldUpdateGraphicsLayer(GraphicsLayerUpdater::UpdateType updateType) const { return m_needToUpdateGraphicsLayer || updateType == GraphicsLayerUpdater ::ForceUpdate; } 187 bool shouldUpdateGraphicsLayer(GraphicsLayerUpdater::UpdateType updateType) const { return m_needToUpdateGraphicsLayer || updateType == GraphicsLayerUpdater ::ForceUpdate; }
188 GraphicsLayerUpdater::UpdateType updateTypeForChildren(GraphicsLayerUpdater: :UpdateType) const; 188 GraphicsLayerUpdater::UpdateType updateTypeForChildren(GraphicsLayerUpdater: :UpdateType) const;
189 void clearNeedsGraphicsLayerUpdate(); 189 void clearNeedsGraphicsLayerUpdate();
190 190
191 #if !ASSERT_DISABLED 191 #if ASSERT_ENABLED
192 void assertNeedsToUpdateGraphicsLayerBitsCleared(); 192 void assertNeedsToUpdateGraphicsLayerBitsCleared();
193 #endif 193 #endif
194 194
195 virtual String debugName(const GraphicsLayer*) OVERRIDE; 195 virtual String debugName(const GraphicsLayer*) OVERRIDE;
196 196
197 LayoutSize contentOffsetInCompositingLayer() const; 197 LayoutSize contentOffsetInCompositingLayer() const;
198 198
199 LayoutPoint squashingOffsetFromTransformedAncestor() 199 LayoutPoint squashingOffsetFromTransformedAncestor()
200 { 200 {
201 return m_squashingLayerOffsetFromTransformedAncestor; 201 return m_squashingLayerOffsetFromTransformedAncestor;
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 bool m_requiresOwnBackingStoreForAncestorReasons : 1; 393 bool m_requiresOwnBackingStoreForAncestorReasons : 1;
394 bool m_canCompositeFilters : 1; 394 bool m_canCompositeFilters : 1;
395 bool m_backgroundLayerPaintsFixedRootBackground : 1; 395 bool m_backgroundLayerPaintsFixedRootBackground : 1;
396 bool m_needToUpdateGraphicsLayer : 1; 396 bool m_needToUpdateGraphicsLayer : 1;
397 bool m_needToUpdateGraphicsLayerOfAllDecendants : 1; 397 bool m_needToUpdateGraphicsLayerOfAllDecendants : 1;
398 }; 398 };
399 399
400 } // namespace WebCore 400 } // namespace WebCore
401 401
402 #endif // CompositedLayerMapping_h 402 #endif // CompositedLayerMapping_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderView.h ('k') | Source/core/rendering/compositing/CompositedLayerMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698