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

Side by Side Diff: Source/core/page/DragState.h

Issue 169293002: Oilpan: Remove GC_INFO_{DEFINE,DECLARE} macros (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixheaptest Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/page/DOMSelection.cpp ('k') | Source/core/page/EventHandler.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. 2 * Copyright (C) 2011 Google Inc.
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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 19 matching lines...) Expand all
30 #include "wtf/Noncopyable.h" 30 #include "wtf/Noncopyable.h"
31 #include "wtf/RefPtr.h" 31 #include "wtf/RefPtr.h"
32 32
33 namespace WebCore { 33 namespace WebCore {
34 34
35 class Clipboard; 35 class Clipboard;
36 class Node; 36 class Node;
37 37
38 class DragState : public NoBaseWillBeGarbageCollectedFinalized<DragState> { 38 class DragState : public NoBaseWillBeGarbageCollectedFinalized<DragState> {
39 WTF_MAKE_NONCOPYABLE(DragState); 39 WTF_MAKE_NONCOPYABLE(DragState);
40 DECLARE_GC_INFO;
41 public: 40 public:
42 DragState() { } 41 DragState() { }
43 RefPtr<Node> m_dragSrc; // element that may be a drag source, for the curren t mouse gesture 42 RefPtr<Node> m_dragSrc; // element that may be a drag source, for the curren t mouse gesture
44 DragSourceAction m_dragType; 43 DragSourceAction m_dragType;
45 RefPtrWillBeMember<Clipboard> m_dragClipboard; // used on only the source si de of dragging 44 RefPtrWillBeMember<Clipboard> m_dragClipboard; // used on only the source si de of dragging
46 45
47 void trace(Visitor* visitor) 46 void trace(Visitor* visitor)
48 { 47 {
49 visitor->trace(m_dragClipboard); 48 visitor->trace(m_dragClipboard);
50 } 49 }
51 }; 50 };
52 51
53 } // namespace WebCore 52 } // namespace WebCore
54 53
55 #endif // DragState_h 54 #endif // DragState_h
OLDNEW
« no previous file with comments | « Source/core/page/DOMSelection.cpp ('k') | Source/core/page/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698