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

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

Issue 129173004: Update rendering classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase 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
« no previous file with comments | « Source/core/rendering/RenderInline.h ('k') | Source/core/rendering/RenderLayerFilterInfo.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 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 CompositingUpdateFinishAllDeferredWork 51 CompositingUpdateFinishAllDeferredWork
52 }; 52 };
53 53
54 // RenderLayerCompositor manages the hierarchy of 54 // RenderLayerCompositor manages the hierarchy of
55 // composited RenderLayers. It determines which RenderLayers 55 // composited RenderLayers. It determines which RenderLayers
56 // become compositing, and creates and maintains a hierarchy of 56 // become compositing, and creates and maintains a hierarchy of
57 // GraphicsLayers based on the RenderLayer painting order. 57 // GraphicsLayers based on the RenderLayer painting order.
58 // 58 //
59 // There is one RenderLayerCompositor per RenderView. 59 // There is one RenderLayerCompositor per RenderView.
60 60
61 class RenderLayerCompositor : public GraphicsLayerClient { 61 class RenderLayerCompositor FINAL : public GraphicsLayerClient {
62 WTF_MAKE_FAST_ALLOCATED; 62 WTF_MAKE_FAST_ALLOCATED;
63 public: 63 public:
64 explicit RenderLayerCompositor(RenderView*); 64 explicit RenderLayerCompositor(RenderView*);
65 ~RenderLayerCompositor(); 65 ~RenderLayerCompositor();
66 66
67 // Return true if this RenderView is in "compositing mode" (i.e. has one or more 67 // Return true if this RenderView is in "compositing mode" (i.e. has one or more
68 // composited RenderLayers) 68 // composited RenderLayers)
69 bool inCompositingMode() const { return m_compositing; } 69 bool inCompositingMode() const { return m_compositing; }
70 // This will make a compositing layer at the root automatically, and hook up to 70 // This will make a compositing layer at the root automatically, and hook up to
71 // the native view/window system. 71 // the native view/window system.
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 OwnPtr<GraphicsLayer> m_layerForScrollCorner; 362 OwnPtr<GraphicsLayer> m_layerForScrollCorner;
363 #if USE(RUBBER_BANDING) 363 #if USE(RUBBER_BANDING)
364 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; 364 OwnPtr<GraphicsLayer> m_layerForOverhangShadow;
365 #endif 365 #endif
366 }; 366 };
367 367
368 368
369 } // namespace WebCore 369 } // namespace WebCore
370 370
371 #endif // RenderLayerCompositor_h 371 #endif // RenderLayerCompositor_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderInline.h ('k') | Source/core/rendering/RenderLayerFilterInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698