| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 16 matching lines...) Expand all Loading... |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef LayerRect_h | 31 #ifndef LayerRect_h |
| 32 #define LayerRect_h | 32 #define LayerRect_h |
| 33 | 33 |
| 34 #include "bindings/core/v8/ScriptWrappable.h" | 34 #include "bindings/core/v8/ScriptWrappable.h" |
| 35 #include "core/dom/ClientRect.h" | 35 #include "core/dom/ClientRect.h" |
| 36 #include "platform/heap/Handle.h" | 36 #include "platform/heap/Handle.h" |
| 37 #include "wtf/PassRefPtr.h" | |
| 38 #include "wtf/RefCounted.h" | |
| 39 #include "wtf/RefPtr.h" | |
| 40 #include "wtf/text/WTFString.h" | 37 #include "wtf/text/WTFString.h" |
| 41 | 38 |
| 42 namespace blink { | 39 namespace blink { |
| 43 | 40 |
| 44 class Node; | 41 class Node; |
| 45 | 42 |
| 46 class LayerRect final : public GarbageCollectedFinalized<LayerRect>, public Scri
ptWrappable { | 43 class LayerRect final : public GarbageCollectedFinalized<LayerRect>, public Scri
ptWrappable { |
| 47 DEFINE_WRAPPERTYPEINFO(); | 44 DEFINE_WRAPPERTYPEINFO(); |
| 48 public: | 45 public: |
| 49 static LayerRect* create(Node* node, const String& layerType, int nodeOffset
X, int nodeOffsetY, ClientRect* rect) | 46 static LayerRect* create(Node* node, const String& layerType, int nodeOffset
X, int nodeOffsetY, ClientRect* rect) |
| (...skipping 24 matching lines...) Expand all Loading... |
| 74 Member<Node> m_layerAssociatedNode; | 71 Member<Node> m_layerAssociatedNode; |
| 75 String m_layerType; | 72 String m_layerType; |
| 76 int m_associatedNodeOffsetX; | 73 int m_associatedNodeOffsetX; |
| 77 int m_associatedNodeOffsetY; | 74 int m_associatedNodeOffsetY; |
| 78 Member<ClientRect> m_rect; | 75 Member<ClientRect> m_rect; |
| 79 }; | 76 }; |
| 80 | 77 |
| 81 } // namespace blink | 78 } // namespace blink |
| 82 | 79 |
| 83 #endif // LayerRect_h | 80 #endif // LayerRect_h |
| OLD | NEW |