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

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

Issue 955583002: InlinedVisitor: Migrate page to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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/DOMWindowPagePopup.cpp ('k') | Source/core/page/DragController.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) 2007, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2009 Apple 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 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 enum SelectionDragPolicy { 64 enum SelectionDragPolicy {
65 ImmediateSelectionDragResolution, 65 ImmediateSelectionDragResolution,
66 DelayedSelectionDragResolution, 66 DelayedSelectionDragResolution,
67 }; 67 };
68 Node* draggableNode(const LocalFrame*, Node*, const IntPoint&, SelectionDrag Policy, DragSourceAction&) const; 68 Node* draggableNode(const LocalFrame*, Node*, const IntPoint&, SelectionDrag Policy, DragSourceAction&) const;
69 void dragEnded(); 69 void dragEnded();
70 70
71 bool populateDragDataTransfer(LocalFrame* src, const DragState&, const IntPo int& dragOrigin); 71 bool populateDragDataTransfer(LocalFrame* src, const DragState&, const IntPo int& dragOrigin);
72 bool startDrag(LocalFrame* src, const DragState&, const PlatformMouseEvent& dragEvent, const IntPoint& dragOrigin); 72 bool startDrag(LocalFrame* src, const DragState&, const PlatformMouseEvent& dragEvent, const IntPoint& dragOrigin);
73 73
74 void trace(Visitor*); 74 DECLARE_TRACE();
75 75
76 static const int DragIconRightInset; 76 static const int DragIconRightInset;
77 static const int DragIconBottomInset; 77 static const int DragIconBottomInset;
78 78
79 private: 79 private:
80 DragController(Page*, DragClient*); 80 DragController(Page*, DragClient*);
81 81
82 bool dispatchTextInputEventFor(LocalFrame*, DragData*); 82 bool dispatchTextInputEventFor(LocalFrame*, DragData*);
83 bool canProcessDrag(DragData*); 83 bool canProcessDrag(DragData*);
84 bool concludeEditDrag(DragData*); 84 bool concludeEditDrag(DragData*);
(...skipping 19 matching lines...) Expand all
104 RefPtrWillBeMember<HTMLInputElement> m_fileInputElementUnderMouse; 104 RefPtrWillBeMember<HTMLInputElement> m_fileInputElementUnderMouse;
105 bool m_documentIsHandlingDrag; 105 bool m_documentIsHandlingDrag;
106 106
107 DragDestinationAction m_dragDestinationAction; 107 DragDestinationAction m_dragDestinationAction;
108 bool m_didInitiateDrag; 108 bool m_didInitiateDrag;
109 }; 109 };
110 110
111 } // namespace blink 111 } // namespace blink
112 112
113 #endif // DragController_h 113 #endif // DragController_h
OLDNEW
« no previous file with comments | « Source/core/page/DOMWindowPagePopup.cpp ('k') | Source/core/page/DragController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698