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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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) 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 24 matching lines...) Expand all
35 35
36 class DataTransfer; 36 class DataTransfer;
37 class Node; 37 class Node;
38 38
39 // TODO(Oilpan): when Node is always on the heap, just derive from GarbageCollec ted<>. 39 // TODO(Oilpan): when Node is always on the heap, just derive from GarbageCollec ted<>.
40 class DragState final : public GarbageCollectedFinalized<DragState> { 40 class DragState final : public GarbageCollectedFinalized<DragState> {
41 WTF_MAKE_NONCOPYABLE(DragState); 41 WTF_MAKE_NONCOPYABLE(DragState);
42 public: 42 public:
43 DragState() { } 43 DragState() { }
44 44
45 RefPtrWillBeMember<Node> m_dragSrc; // element that may be a drag source, fo r the current mouse gesture 45 Member<Node> m_dragSrc; // element that may be a drag source, for the curren t mouse gesture
46 DragSourceAction m_dragType; 46 DragSourceAction m_dragType;
47 Member<DataTransfer> m_dragDataTransfer; // used on only the source side of dragging 47 Member<DataTransfer> m_dragDataTransfer; // used on only the source side of dragging
48 48
49 DEFINE_INLINE_TRACE() 49 DEFINE_INLINE_TRACE()
50 { 50 {
51 visitor->trace(m_dragSrc); 51 visitor->trace(m_dragSrc);
52 visitor->trace(m_dragDataTransfer); 52 visitor->trace(m_dragDataTransfer);
53 } 53 }
54 }; 54 };
55 55
56 } // namespace blink 56 } // namespace blink
57 57
58 #endif // DragState_h 58 #endif // DragState_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/DragData.cpp ('k') | third_party/WebKit/Source/core/page/EventSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698