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 17 matching lines...) Expand all Loading... |
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 "core/dom/Node.h" | 36 #include "core/dom/Node.h" |
37 #include "platform/heap/Handle.h" | 37 #include "platform/heap/Handle.h" |
38 #include "wtf/text/WTFString.h" | 38 #include "platform/wtf/text/WTFString.h" |
39 | 39 |
40 namespace blink { | 40 namespace blink { |
41 | 41 |
42 class LayerRect final : public GarbageCollectedFinalized<LayerRect>, | 42 class LayerRect final : public GarbageCollectedFinalized<LayerRect>, |
43 public ScriptWrappable { | 43 public ScriptWrappable { |
44 DEFINE_WRAPPERTYPEINFO(); | 44 DEFINE_WRAPPERTYPEINFO(); |
45 | 45 |
46 public: | 46 public: |
47 static LayerRect* Create(Node* node, | 47 static LayerRect* Create(Node* node, |
48 const String& layer_type, | 48 const String& layer_type, |
(...skipping 29 matching lines...) Expand all Loading... |
78 Member<Node> layer_associated_node_; | 78 Member<Node> layer_associated_node_; |
79 String layer_type_; | 79 String layer_type_; |
80 int associated_node_offset_x_; | 80 int associated_node_offset_x_; |
81 int associated_node_offset_y_; | 81 int associated_node_offset_y_; |
82 Member<ClientRect> rect_; | 82 Member<ClientRect> rect_; |
83 }; | 83 }; |
84 | 84 |
85 } // namespace blink | 85 } // namespace blink |
86 | 86 |
87 #endif // LayerRect_h | 87 #endif // LayerRect_h |
OLD | NEW |