| 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 23 matching lines...) Expand all Loading... |
| 34 #include "platform/JSONValues.h" | 34 #include "platform/JSONValues.h" |
| 35 #include "platform/geometry/FloatRect.h" | 35 #include "platform/geometry/FloatRect.h" |
| 36 #include "platform/geometry/LayoutRect.h" | 36 #include "platform/geometry/LayoutRect.h" |
| 37 #include "platform/graphics/CompositingReasons.h" | 37 #include "platform/graphics/CompositingReasons.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 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;
} |
| (...skipping 20 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 |