• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  *  Copyright (C) 2007-2008 Torch Mobile, Inc.
3  *
4  *  This library is free software; you can redistribute it and/or
5  *  modify it under the terms of the GNU Library 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  *  Library General Public License for more details.
13  *
14  *  You should have received a copy of the GNU Library General Public License
15  *  along with this library; see the file COPYING.LIB.  If not, write to
16  *  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  *  Boston, MA 02110-1301, USA.
18  *
19  */
20 
21 #include "config.h"
22 #include "DragData.h"
23 
24 #include "DocumentFragment.h"
25 #include "PlatformString.h"
26 #include "Range.h"
27 
28 namespace WebCore {
29 
containsURL(Frame *,FilenameConversionPolicy filenamePolicy) const30 bool DragData::containsURL(Frame*, FilenameConversionPolicy filenamePolicy) const
31 {
32     return false;
33 }
34 
dragDataMap()35 const DragDataMap& DragData::dragDataMap()
36 {
37     return m_dragDataMap;
38 }
39 
asURL(Frame *,FilenameConversionPolicy filenamePolicy,String * title) const40 String DragData::asURL(Frame*, FilenameConversionPolicy filenamePolicy, String* title) const
41 {
42     return String();
43 }
44 
containsFiles() const45 bool DragData::containsFiles() const
46 {
47     return false;
48 }
49 
asFilenames(Vector<String> &) const50 void DragData::asFilenames(Vector<String>&) const
51 {
52 }
53 
containsPlainText() const54 bool DragData::containsPlainText() const
55 {
56     return false;
57 }
58 
asPlainText(Frame *) const59 String DragData::asPlainText(Frame*) const
60 {
61     return String();
62 }
63 
containsColor() const64 bool DragData::containsColor() const
65 {
66     return false;
67 }
68 
canSmartReplace() const69 bool DragData::canSmartReplace() const
70 {
71     return false;
72 }
73 
containsCompatibleContent() const74 bool DragData::containsCompatibleContent() const
75 {
76     return false;
77 }
78 
asFragment(Frame * frame,PassRefPtr<Range>,bool,bool &) const79 PassRefPtr<DocumentFragment> DragData::asFragment(Frame* frame, PassRefPtr<Range>, bool, bool&) const
80 {
81      return 0;
82 }
83 
asColor() const84 Color DragData::asColor() const
85 {
86     return Color();
87 }
88 
89 } // namespace WebCore
90