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

Side by Side Diff: third_party/WebKit/Source/core/testing/LayerRect.h

Issue 1882003002: include RefCounted.h where needed, only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix Created 4 years, 8 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
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.h ('k') | third_party/WebKit/Source/core/testing/LayerRectList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698