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

Side by Side Diff: Source/core/clipboard/Clipboard.h

Issue 176853004: Oilpan: move core/fileapi to oilpan's heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 9 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
« no previous file with comments | « Source/bindings/v8/custom/V8FileCustom.cpp ('k') | Source/core/clipboard/Clipboard.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) 2001 Peter Kelly (pmk@post.com) 2 * Copyright (C) 2001 Peter Kelly (pmk@post.com)
3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de) 3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de)
4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) 4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
5 * Copyright (C) 2003, 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2008 Apple Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 bool dropEffectIsUninitialized() const { return m_dropEffect == "uninitializ ed"; } 68 bool dropEffectIsUninitialized() const { return m_dropEffect == "uninitializ ed"; }
69 String effectAllowed() const { return m_effectAllowed; } 69 String effectAllowed() const { return m_effectAllowed; }
70 void setEffectAllowed(const String&); 70 void setEffectAllowed(const String&);
71 71
72 void clearData(const String& type = String()); 72 void clearData(const String& type = String());
73 String getData(const String& type) const; 73 String getData(const String& type) const;
74 bool setData(const String& type, const String& data); 74 bool setData(const String& type, const String& data);
75 75
76 // extensions beyond IE's API 76 // extensions beyond IE's API
77 Vector<String> types() const; 77 Vector<String> types() const;
78 PassRefPtr<FileList> files() const; 78 PassRefPtrWillBeRawPtr<FileList> files() const;
79 79
80 IntPoint dragLocation() const { return m_dragLoc; } 80 IntPoint dragLocation() const { return m_dragLoc; }
81 void setDragImage(Element*, int x, int y, ExceptionState&); 81 void setDragImage(Element*, int x, int y, ExceptionState&);
82 ImageResource* dragImageResource() const { return m_dragImage.get(); } 82 ImageResource* dragImageResource() const { return m_dragImage.get(); }
83 void setDragImageResource(ImageResource*, const IntPoint&); 83 void setDragImageResource(ImageResource*, const IntPoint&);
84 Node* dragImageElement() const { return m_dragImageElement.get(); } 84 Node* dragImageElement() const { return m_dragImageElement.get(); }
85 void setDragImageElement(Node*, const IntPoint&); 85 void setDragImageElement(Node*, const IntPoint&);
86 86
87 PassOwnPtr<DragImage> createDragImage(IntPoint& dragLocation, LocalFrame*) c onst; 87 PassOwnPtr<DragImage> createDragImage(IntPoint& dragLocation, LocalFrame*) c onst;
88 void declareAndWriteDragImage(Element*, const KURL&, const String& title); 88 void declareAndWriteDragImage(Element*, const KURL&, const String& title);
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 ResourcePtr<ImageResource> m_dragImage; 134 ResourcePtr<ImageResource> m_dragImage;
135 RefPtr<Node> m_dragImageElement; 135 RefPtr<Node> m_dragImageElement;
136 }; 136 };
137 137
138 DragOperation convertDropZoneOperationToDragOperation(const String& dragOperatio n); 138 DragOperation convertDropZoneOperationToDragOperation(const String& dragOperatio n);
139 String convertDragOperationToDropZoneOperation(DragOperation); 139 String convertDragOperationToDropZoneOperation(DragOperation);
140 140
141 } // namespace WebCore 141 } // namespace WebCore
142 142
143 #endif // Clipboard_h 143 #endif // Clipboard_h
OLDNEW
« no previous file with comments | « Source/bindings/v8/custom/V8FileCustom.cpp ('k') | Source/core/clipboard/Clipboard.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698