• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  *  This library is free software; you can redistribute it and/or
3  *  modify it under the terms of the GNU Lesser General Public
4  *  License as published by the Free Software Foundation; either
5  *  version 2 of the License, or (at your option) any later version.
6  *
7  *  This library is distributed in the hope that it will be useful,
8  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
9  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
10  *  Lesser General Public License for more details.
11  *
12  *  You should have received a copy of the GNU Lesser General Public
13  *  License along with this library; if not, write to the Free Software
14  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
15  */
16 
17 #include "config.h"
18 #include "ClipboardGtk.h"
19 
20 #include "FileList.h"
21 #include "NotImplemented.h"
22 #include "StringHash.h"
23 
24 #include "Editor.h"
25 
26 namespace WebCore {
27 
newGeneralClipboard(ClipboardAccessPolicy policy)28 PassRefPtr<Clipboard> Editor::newGeneralClipboard(ClipboardAccessPolicy policy)
29 {
30     return ClipboardGtk::create(policy, false);
31 }
32 
ClipboardGtk(ClipboardAccessPolicy policy,bool forDragging)33 ClipboardGtk::ClipboardGtk(ClipboardAccessPolicy policy, bool forDragging)
34     : Clipboard(policy, forDragging)
35 {
36     notImplemented();
37 }
38 
~ClipboardGtk()39 ClipboardGtk::~ClipboardGtk()
40 {
41     notImplemented();
42 }
43 
clearData(const String &)44 void ClipboardGtk::clearData(const String&)
45 {
46     notImplemented();
47 }
48 
clearAllData()49 void ClipboardGtk::clearAllData()
50 {
51     notImplemented();
52 }
53 
getData(const String &,bool & success) const54 String ClipboardGtk::getData(const String&, bool &success) const
55 {
56     notImplemented();
57     success = false;
58     return String();
59 }
60 
setData(const String &,const String &)61 bool ClipboardGtk::setData(const String&, const String&)
62 {
63     notImplemented();
64     return false;
65 }
66 
types() const67 HashSet<String> ClipboardGtk::types() const
68 {
69     notImplemented();
70     return HashSet<String>();
71 }
72 
files() const73 PassRefPtr<FileList> ClipboardGtk::files() const
74 {
75     notImplemented();
76     return 0;
77 }
78 
dragLocation() const79 IntPoint ClipboardGtk::dragLocation() const
80 {
81     notImplemented();
82     return IntPoint(0, 0);
83 }
84 
dragImage() const85 CachedImage* ClipboardGtk::dragImage() const
86 {
87     notImplemented();
88     return 0;
89 }
90 
setDragImage(CachedImage *,const IntPoint &)91 void ClipboardGtk::setDragImage(CachedImage*, const IntPoint&)
92 {
93     notImplemented();
94 }
95 
dragImageElement()96 Node* ClipboardGtk::dragImageElement()
97 {
98     notImplemented();
99     return 0;
100 }
101 
setDragImageElement(Node *,const IntPoint &)102 void ClipboardGtk::setDragImageElement(Node*, const IntPoint&)
103 {
104     notImplemented();
105 }
106 
createDragImage(IntPoint &) const107 DragImageRef ClipboardGtk::createDragImage(IntPoint&) const
108 {
109     notImplemented();
110     return 0;
111 }
112 
declareAndWriteDragImage(Element *,const KURL &,const String &,Frame *)113 void ClipboardGtk::declareAndWriteDragImage(Element*, const KURL&, const String&, Frame*)
114 {
115     notImplemented();
116 }
117 
writeURL(const KURL &,const String &,Frame *)118 void ClipboardGtk::writeURL(const KURL&, const String&, Frame*)
119 {
120     notImplemented();
121 }
122 
writeRange(Range *,Frame *)123 void ClipboardGtk::writeRange(Range*, Frame*)
124 {
125     notImplemented();
126 }
127 
hasData()128 bool ClipboardGtk::hasData()
129 {
130     notImplemented();
131     return false;
132 }
133 
134 }
135