OLD | NEW |
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 28 matching lines...) Expand all Loading... |
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 virtual ~GraphicsLayerDebugInfo(); |
48 | 48 |
49 virtual void appendAsTraceFormat(WebString* out) const OVERRIDE; | 49 virtual 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 Vector<LayoutRect>& currentLayoutRects() { return m_currentLayoutRects; } | 57 Vector<LayoutRect>& currentLayoutRects() { return m_currentLayoutRects; } |
58 | 58 |
59 void appendAnnotatedInvalidateRect(const FloatRect&, const char*); | 59 void appendAnnotatedInvalidateRect(const FloatRect&, const char*); |
(...skipping 15 matching lines...) Expand all Loading... |
75 CompositingReasons m_compositingReasons; | 75 CompositingReasons m_compositingReasons; |
76 int m_ownerNodeId; | 76 int m_ownerNodeId; |
77 Vector<LayoutRect> m_currentLayoutRects; | 77 Vector<LayoutRect> m_currentLayoutRects; |
78 Vector<AnnotatedInvalidationRect> m_invalidations; | 78 Vector<AnnotatedInvalidationRect> m_invalidations; |
79 Vector<AnnotatedInvalidationRect> m_previousInvalidations; | 79 Vector<AnnotatedInvalidationRect> m_previousInvalidations; |
80 }; | 80 }; |
81 | 81 |
82 } // namespace blink | 82 } // namespace blink |
83 | 83 |
84 #endif | 84 #endif |
OLD | NEW |