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

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

Issue 137943002: Update more core classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/AutoTableLayout.h ('k') | Source/core/rendering/InlineFlowBox.h » ('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, 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // GraphicsLayers of the composited layer tree. Each instance of CompositedLayer Mapping 70 // GraphicsLayers of the composited layer tree. Each instance of CompositedLayer Mapping
71 // manages a small cluster of GraphicsLayers and the references to which RenderL ayers 71 // manages a small cluster of GraphicsLayers and the references to which RenderL ayers
72 // and paint phases contribute to each GraphicsLayer. 72 // and paint phases contribute to each GraphicsLayer.
73 // 73 //
74 // Currently (Oct. 2013) there is one CompositedLayerMapping for each RenderLaye r, 74 // Currently (Oct. 2013) there is one CompositedLayerMapping for each RenderLaye r,
75 // but this is likely to evolve soon. 75 // but this is likely to evolve soon.
76 class CompositedLayerMapping FINAL : public GraphicsLayerClient { 76 class CompositedLayerMapping FINAL : public GraphicsLayerClient {
77 WTF_MAKE_NONCOPYABLE(CompositedLayerMapping); WTF_MAKE_FAST_ALLOCATED; 77 WTF_MAKE_NONCOPYABLE(CompositedLayerMapping); WTF_MAKE_FAST_ALLOCATED;
78 public: 78 public:
79 explicit CompositedLayerMapping(RenderLayer*); 79 explicit CompositedLayerMapping(RenderLayer*);
80 ~CompositedLayerMapping(); 80 virtual ~CompositedLayerMapping();
81 81
82 RenderLayer* owningLayer() const { return m_owningLayer; } 82 RenderLayer* owningLayer() const { return m_owningLayer; }
83 83
84 enum UpdateAfterLayoutFlag { 84 enum UpdateAfterLayoutFlag {
85 CompositingChildrenOnly = 1 << 0, 85 CompositingChildrenOnly = 1 << 0,
86 NeedsFullRepaint = 1 << 1, 86 NeedsFullRepaint = 1 << 1,
87 IsUpdateRoot = 1 << 2 87 IsUpdateRoot = 1 << 2
88 }; 88 };
89 typedef unsigned UpdateAfterLayoutFlags; 89 typedef unsigned UpdateAfterLayoutFlags;
90 void updateAfterLayout(UpdateAfterLayoutFlags); 90 void updateAfterLayout(UpdateAfterLayoutFlags);
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 bool m_isMainFrameRenderViewLayer; 352 bool m_isMainFrameRenderViewLayer;
353 bool m_requiresOwnBackingStoreForIntrinsicReasons; 353 bool m_requiresOwnBackingStoreForIntrinsicReasons;
354 bool m_requiresOwnBackingStoreForAncestorReasons; 354 bool m_requiresOwnBackingStoreForAncestorReasons;
355 bool m_canCompositeFilters; 355 bool m_canCompositeFilters;
356 bool m_backgroundLayerPaintsFixedRootBackground; 356 bool m_backgroundLayerPaintsFixedRootBackground;
357 }; 357 };
358 358
359 } // namespace WebCore 359 } // namespace WebCore
360 360
361 #endif // CompositedLayerMapping_h 361 #endif // CompositedLayerMapping_h
OLDNEW
« no previous file with comments | « Source/core/rendering/AutoTableLayout.h ('k') | Source/core/rendering/InlineFlowBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698