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

Side by Side Diff: Source/platform/graphics/GraphicsLayerDebugInfo.h

Issue 1213003004: Fix virtual/override/final usage in Source/platform/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/platform/graphics/GraphicsLayer.h ('k') | Source/platform/graphics/ImageDecodingStore.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) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 26 matching lines...) Expand all
37 #include "platform/graphics/PaintInvalidationReason.h" 37 #include "platform/graphics/PaintInvalidationReason.h"
38 #include "public/platform/WebGraphicsLayerDebugInfo.h" 38 #include "public/platform/WebGraphicsLayerDebugInfo.h"
39 39
40 #include "wtf/Vector.h" 40 #include "wtf/Vector.h"
41 41
42 namespace blink { 42 namespace blink {
43 43
44 class GraphicsLayerDebugInfo final : public WebGraphicsLayerDebugInfo { 44 class GraphicsLayerDebugInfo final : public WebGraphicsLayerDebugInfo {
45 public: 45 public:
46 GraphicsLayerDebugInfo(); 46 GraphicsLayerDebugInfo();
47 virtual ~GraphicsLayerDebugInfo(); 47 ~GraphicsLayerDebugInfo() override;
48 48
49 virtual void appendAsTraceFormat(WebString* out) const override; 49 void appendAsTraceFormat(WebString* out) const override;
50 50
51 GraphicsLayerDebugInfo* clone() const; 51 GraphicsLayerDebugInfo* clone() const;
52 52
53 void setDebugName(const String& name) { m_debugName = name; } 53 void setDebugName(const String& name) { m_debugName = name; }
54 CompositingReasons compositingReasons() const { return m_compositingReasons; } 54 CompositingReasons compositingReasons() const { return m_compositingReasons; }
55 void setCompositingReasons(CompositingReasons reasons) { m_compositingReason s = reasons; } 55 void setCompositingReasons(CompositingReasons reasons) { m_compositingReason s = reasons; }
56 void setOwnerNodeId(int id) { m_ownerNodeId = id; } 56 void setOwnerNodeId(int id) { m_ownerNodeId = id; }
57 57
58 void appendAnnotatedInvalidateRect(const FloatRect&, PaintInvalidationReason ); 58 void appendAnnotatedInvalidateRect(const FloatRect&, PaintInvalidationReason );
59 void clearAnnotatedInvalidateRects(); 59 void clearAnnotatedInvalidateRects();
(...skipping 12 matching lines...) Expand all
72 String m_debugName; 72 String m_debugName;
73 CompositingReasons m_compositingReasons; 73 CompositingReasons m_compositingReasons;
74 int m_ownerNodeId; 74 int m_ownerNodeId;
75 Vector<AnnotatedInvalidationRect> m_invalidations; 75 Vector<AnnotatedInvalidationRect> m_invalidations;
76 Vector<AnnotatedInvalidationRect> m_previousInvalidations; 76 Vector<AnnotatedInvalidationRect> m_previousInvalidations;
77 }; 77 };
78 78
79 } // namespace blink 79 } // namespace blink
80 80
81 #endif 81 #endif
OLDNEW
« no previous file with comments | « Source/platform/graphics/GraphicsLayer.h ('k') | Source/platform/graphics/ImageDecodingStore.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698