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

Side by Side Diff: Source/core/rendering/RenderLayerCompositor.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/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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // composited RenderLayers. It determines which RenderLayers 54 // composited RenderLayers. It determines which RenderLayers
55 // become compositing, and creates and maintains a hierarchy of 55 // become compositing, and creates and maintains a hierarchy of
56 // GraphicsLayers based on the RenderLayer painting order. 56 // GraphicsLayers based on the RenderLayer painting order.
57 // 57 //
58 // There is one RenderLayerCompositor per RenderView. 58 // There is one RenderLayerCompositor per RenderView.
59 59
60 class RenderLayerCompositor FINAL : public GraphicsLayerClient { 60 class RenderLayerCompositor FINAL : public GraphicsLayerClient {
61 WTF_MAKE_FAST_ALLOCATED; 61 WTF_MAKE_FAST_ALLOCATED;
62 public: 62 public:
63 explicit RenderLayerCompositor(RenderView*); 63 explicit RenderLayerCompositor(RenderView*);
64 ~RenderLayerCompositor(); 64 virtual ~RenderLayerCompositor();
65 65
66 // Return true if this RenderView is in "compositing mode" (i.e. has one or more 66 // Return true if this RenderView is in "compositing mode" (i.e. has one or more
67 // composited RenderLayers) 67 // composited RenderLayers)
68 bool inCompositingMode() const { return m_compositing; } 68 bool inCompositingMode() const { return m_compositing; }
69 // This will make a compositing layer at the root automatically, and hook up to 69 // This will make a compositing layer at the root automatically, and hook up to
70 // the native view/window system. 70 // the native view/window system.
71 void enableCompositingMode(bool enable = true); 71 void enableCompositingMode(bool enable = true);
72 72
73 bool inForcedCompositingMode() const { return m_forceCompositingMode; } 73 bool inForcedCompositingMode() const { return m_forceCompositingMode; }
74 74
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 OwnPtr<GraphicsLayer> m_layerForScrollCorner; 368 OwnPtr<GraphicsLayer> m_layerForScrollCorner;
369 #if USE(RUBBER_BANDING) 369 #if USE(RUBBER_BANDING)
370 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; 370 OwnPtr<GraphicsLayer> m_layerForOverhangShadow;
371 #endif 371 #endif
372 }; 372 };
373 373
374 374
375 } // namespace WebCore 375 } // namespace WebCore
376 376
377 #endif // RenderLayerCompositor_h 377 #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