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

Unified Diff: Source/core/paint/DeprecatedPaintLayer.h

Issue 1327483003: Add documentation to 2 DeprecatedPaintLayer objects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed the ASCII art to prevent multi-line comments. Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/paint/DeprecatedPaintLayerClipper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/DeprecatedPaintLayer.h
diff --git a/Source/core/paint/DeprecatedPaintLayer.h b/Source/core/paint/DeprecatedPaintLayer.h
index 032cdf2cdc32e74828f97b9bcf3e0f9a023b7217..f997d76316ba810b8dd2830376e9790ed694453c 100644
--- a/Source/core/paint/DeprecatedPaintLayer.h
+++ b/Source/core/paint/DeprecatedPaintLayer.h
@@ -95,6 +95,12 @@ private:
// hardware acceleration (through DeprecatedPaintLayerCompositor),
// scrolling (through DeprecatedPaintLayerScrollableArea)
// along with some optimizations are all handled by DeprecatedPaintLayer.
+//
+// The class is DEPRECATED, which means that we would like to remove it. The
+// reason for removal is that it has been a dumping ground for features for too
+// long and is the wrong level of abstraction, bearing no correspondence to any
+// CSS concept. Its associated objects and some of its feature need to be
+// migrated to LayoutObject (or the appropriate sub-class).
class CORE_EXPORT DeprecatedPaintLayer {
WTF_MAKE_NONCOPYABLE(DeprecatedPaintLayer);
public:
« no previous file with comments | « no previous file | Source/core/paint/DeprecatedPaintLayerClipper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698