summaryrefslogtreecommitdiffstats
path: root/webkit/port/platform/chromium/PasteboardLinux.cpp
blob: 7abc6f6ba1ddfbbe5dc34dd52257b1689f457b41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// Copyright (c) 2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#import "config.h"
#import "Pasteboard.h"

#import "DocumentFragment.h"
#import "NotImplemented.h"

/*
    A stub for a X11 pasteboard
   */
namespace WebCore {

Pasteboard* Pasteboard::generalPasteboard()
{
    notImplemented();
    return 0;
}

void Pasteboard::clear()
{
    notImplemented();
}

void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame)
{
    notImplemented();
}

void Pasteboard::writeURL(const KURL& url, const String& titleStr, Frame* frame)
{
    notImplemented();
}

void Pasteboard::writeImage(Node* node, const KURL& url, const String& title)
{
    notImplemented();
}

bool Pasteboard::canSmartReplace()
{
    notImplemented();
    return false;
}

String Pasteboard::plainText(Frame* frame)
{
    notImplemented();
    return String();
}

PassRefPtr<DocumentFragment> Pasteboard::documentFragment(Frame* frame, PassRefPtr<Range> context, bool allowPlainText, bool& chosePlainText)
{
    notImplemented();
    return 0;
}

}