1/*
2 * Copyright (C) 2009, 2010, 2011 Research In Motion Limited. All rights reserved.
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
17 */
18
19#include "config.h"
20#include "DragData.h"
21
22#include "Color.h"
23#include "DocumentFragment.h"
24#include "NotImplemented.h"
25#include <wtf/Vector.h>
26#include <wtf/text/WTFString.h>
27
28namespace WebCore {
29
30bool DragData::canSmartReplace() const
31{
32    notImplemented();
33    return false;
34}
35
36bool DragData::containsColor() const
37{
38    notImplemented();
39    return false;
40}
41
42bool DragData::containsCompatibleContent() const
43{
44    notImplemented();
45    return false;
46}
47
48bool DragData::containsFiles() const
49{
50    notImplemented();
51    return false;
52}
53
54bool DragData::containsPlainText() const
55{
56    notImplemented();
57    return false;
58}
59
60bool DragData::containsURL(Frame*, FilenameConversionPolicy) const
61{
62    notImplemented();
63    return false;
64}
65
66void DragData::asFilenames(Vector<String>&) const
67{
68    notImplemented();
69}
70
71Color DragData::asColor() const
72{
73    notImplemented();
74    return Color();
75}
76
77String DragData::asPlainText(Frame*) const
78{
79    notImplemented();
80    return String();
81}
82
83String DragData::asURL(Frame*, FilenameConversionPolicy, String*) const
84{
85    notImplemented();
86    return String();
87}
88
89PassRefPtr<DocumentFragment> DragData::asFragment(Frame*, PassRefPtr<Range>, bool, bool&) const
90{
91    notImplemented();
92    return 0;
93}
94
95#if ENABLE(FILE_SYSTEM)
96String DragData::droppedFileSystemId() const
97{
98    notImplemented();
99    return String();
100}
101#endif
102
103} // namespace WebCore
104