| Differences between
and this patch
- a/Source/WebKit2/ChangeLog +31 lines
Lines 1-3 a/Source/WebKit2/ChangeLog_sec1
1
2011-06-10  Ryuan Choi  <ryuan.choi@samsung.com>
2
3
        Reviewed by NOBODY (OOPS!).
4
5
        [EFL][WK2] Add dummy files in WebProcess/WebCoreSupport/efl
6
        https://bugs.webkit.org/show_bug.cgi?id=62346
7
8
        Add WebProcess/WebCoreSupport/efl directory and files.
9
10
        * WebProcess/WebCoreSupport/efl/WebContextMenuClientEfl.cpp: Added.
11
        (WebKit::WebContextMenuClient::lookUpInDictionary):
12
        (WebKit::WebContextMenuClient::isSpeaking):
13
        (WebKit::WebContextMenuClient::speak):
14
        (WebKit::WebContextMenuClient::stopSpeaking):
15
        * WebProcess/WebCoreSupport/efl/WebEditorClientEfl.cpp: Added.
16
        (WebKit::WebEditorClient::handleKeyboardEvent):
17
        (WebKit::WebEditorClient::handleInputMethodKeydown):
18
        * WebProcess/WebCoreSupport/efl/WebErrorsEfl.cpp: Added.
19
        (WebKit::cancelledError):
20
        (WebKit::blockedError):
21
        (WebKit::cannotShowURLError):
22
        (WebKit::interruptForPolicyChangeError):
23
        (WebKit::cannotShowMIMETypeError):
24
        (WebKit::fileDoesNotExistError):
25
        (WebKit::pluginWillHandleLoadError):
26
        * WebProcess/WebCoreSupport/efl/WebFrameNetworkingContext.h: Added.
27
        (WebFrameNetworkingContext::create):
28
        (WebFrameNetworkingContext::WebFrameNetworkingContext):
29
        * WebProcess/WebCoreSupport/efl/WebPopupMenuEfl.cpp: Added.
30
        (WebKit::WebPopupMenu::setUpPlatformData):
31
1
2011-06-09  Andreas Kling  <kling@webkit.org>
32
2011-06-09  Andreas Kling  <kling@webkit.org>
2
33
3
        Reviewed by Darin Adler.
34
        Reviewed by Darin Adler.
- a/Source/WebKit2/WebProcess/WebCoreSupport/efl/WebContextMenuClientEfl.cpp +58 lines
Line 0 a/Source/WebKit2/WebProcess/WebCoreSupport/efl/WebContextMenuClientEfl.cpp_sec1
1
/*
2
 * Copyright (C) 2010 Apple Inc. All rights reserved.
3
 * Portions Copyright (c) 2010 Motorola Mobility, Inc.  All rights reserved.
4
 * Copyright (C) 2011 Samsung Electronics. All rights reserved.
5
 *
6
 * Redistribution and use in source and binary forms, with or without
7
 * modification, are permitted provided that the following conditions
8
 * are met:
9
 * 1. Redistributions of source code must retain the above copyright
10
 *    notice, this list of conditions and the following disclaimer.
11
 * 2. Redistributions in binary form must reproduce the above copyright
12
 *    notice, this list of conditions and the following disclaimer in the
13
 *    documentation and/or other materials provided with the distribution.
14
 *
15
 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
16
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
17
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
18
 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
19
 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
25
 * THE POSSIBILITY OF SUCH DAMAGE.
26
 */
27
28
#include "config.h"
29
#include "WebContextMenuClient.h"
30
31
#include <WebCore/NotImplemented.h>
32
33
using namespace WebCore;
34
35
namespace WebKit {
36
37
void WebContextMenuClient::lookUpInDictionary(Frame*)
38
{
39
    notImplemented();
40
}
41
42
bool WebContextMenuClient::isSpeaking()
43
{
44
    notImplemented();
45
    return false;
46
}
47
48
void WebContextMenuClient::speak(const String&)
49
{
50
    notImplemented();
51
}
52
53
void WebContextMenuClient::stopSpeaking()
54
{
55
    notImplemented();
56
}
57
58
} // namespace WebKit
- a/Source/WebKit2/WebProcess/WebCoreSupport/efl/WebEditorClientEfl.cpp +45 lines
Line 0 a/Source/WebKit2/WebProcess/WebCoreSupport/efl/WebEditorClientEfl.cpp_sec1
1
/*
2
 *  Copyright (C) 2011 Samsung Electronics.
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 License
6
 *  as published by the Free Software Foundation; either version 2 of
7
 *  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
16
 *  Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17
 *  Boston, MA 02110-1301 USA
18
 */
19
20
#include "config.h"
21
#include "WebEditorClient.h"
22
23
#include "Frame.h"
24
#include "PlatformKeyboardEvent.h"
25
#include "WebPage.h"
26
#include "WebPageProxyMessages.h"
27
#include "WebProcess.h"
28
#include <WebCore/KeyboardEvent.h>
29
#include <WebCore/NotImplemented.h>
30
31
using namespace WebCore;
32
33
namespace WebKit {
34
35
void WebEditorClient::handleKeyboardEvent(KeyboardEvent* event)
36
{
37
    notImplemented();
38
}
39
40
void WebEditorClient::handleInputMethodKeydown(KeyboardEvent*)
41
{
42
    notImplemented();
43
}
44
45
}
- a/Source/WebKit2/WebProcess/WebCoreSupport/efl/WebErrorsEfl.cpp +82 lines
Line 0 a/Source/WebKit2/WebProcess/WebCoreSupport/efl/WebErrorsEfl.cpp_sec1
1
/*
2
 * Copyright (C) 2010 Apple Inc. All rights reserved.
3
 * Portions Copyright (c) 2010 Motorola Mobility, Inc.  All rights reserved.
4
 * Copyright (C) 2011 Igalia S.L.
5
 * Copyright (C) 2011 Samsung Electronics. All rights reserved.
6
 *
7
 * Redistribution and use in source and binary forms, with or without
8
 * modification, are permitted provided that the following conditions
9
 * are met:
10
 * 1. Redistributions of source code must retain the above copyright
11
 *    notice, this list of conditions and the following disclaimer.
12
 * 2. Redistributions in binary form must reproduce the above copyright
13
 *    notice, this list of conditions and the following disclaimer in the
14
 *    documentation and/or other materials provided with the distribution.
15
 *
16
 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
17
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
18
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19
 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
20
 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
26
 * THE POSSIBILITY OF SUCH DAMAGE.
27
 */
28
29
#include "config.h"
30
#include "WebErrors.h"
31
32
#include <WebCore/NotImplemented.h>
33
#include <WebCore/ResourceRequest.h>
34
#include <WebCore/ResourceResponse.h>
35
36
using namespace WebCore;
37
38
namespace WebKit {
39
40
ResourceError cancelledError(const ResourceRequest& request)
41
{
42
    notImplemented();
43
    return ResourceError();
44
}
45
46
ResourceError blockedError(const ResourceRequest& request)
47
{
48
    notImplemented();
49
    return ResourceError();
50
}
51
52
ResourceError cannotShowURLError(const ResourceRequest& request)
53
{
54
    notImplemented();
55
    return ResourceError();
56
}
57
58
ResourceError interruptForPolicyChangeError(const ResourceRequest& request)
59
{
60
    notImplemented();
61
    return ResourceError();
62
}
63
64
ResourceError cannotShowMIMETypeError(const ResourceResponse& response)
65
{
66
    notImplemented();
67
    return ResourceError();
68
}
69
70
ResourceError fileDoesNotExistError(const ResourceResponse& response)
71
{
72
    notImplemented();
73
    return ResourceError();
74
}
75
76
ResourceError pluginWillHandleLoadError(const ResourceResponse& response)
77
{
78
    notImplemented();
79
    return ResourceError();
80
}
81
82
} // namespace WebKit
- a/Source/WebKit2/WebProcess/WebCoreSupport/efl/WebFrameNetworkingContext.h +52 lines
Line 0 a/Source/WebKit2/WebProcess/WebCoreSupport/efl/WebFrameNetworkingContext.h_sec1
1
/*
2
 * Copyright (C) 2010 Apple Inc. All rights reserved.
3
 * Portions Copyright (c) 2010 Motorola Mobility, Inc.  All rights reserved.
4
 * Copyright (C) 2011 Samsung Electronics. All rights reserved.
5
 *
6
 * Redistribution and use in source and binary forms, with or without
7
 * modification, are permitted provided that the following conditions
8
 * are met:
9
 * 1. Redistributions of source code must retain the above copyright
10
 *    notice, this list of conditions and the following disclaimer.
11
 * 2. Redistributions in binary form must reproduce the above copyright
12
 *    notice, this list of conditions and the following disclaimer in the
13
 *    documentation and/or other materials provided with the distribution.
14
 *
15
 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
16
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
17
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
18
 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
19
 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
25
 * THE POSSIBILITY OF SUCH DAMAGE.
26
 */
27
28
#ifndef WebFrameNetworkingContext_h
29
#define WebFrameNetworkingContext_h
30
31
#include <WebCore/FrameNetworkingContext.h>
32
33
class WebFrameNetworkingContext : public WebCore::FrameNetworkingContext {
34
public:
35
    static PassRefPtr<WebFrameNetworkingContext> create(WebCore::Frame*)
36
    {
37
        return 0;
38
    }
39
40
private:
41
    WebFrameNetworkingContext(WebCore::Frame* frame)
42
        : WebCore::FrameNetworkingContext(frame)
43
    {
44
    }
45
46
    virtual WTF::String userAgent() const;
47
    virtual WTF::String referrer() const;
48
49
    WTF::String m_userAgent;
50
};
51
52
#endif // WebFrameNetworkingContext_h
- a/Source/WebKit2/WebProcess/WebCoreSupport/efl/WebPopupMenuEfl.cpp +43 lines
Line 0 a/Source/WebKit2/WebProcess/WebCoreSupport/efl/WebPopupMenuEfl.cpp_sec1
1
/*
2
 * Copyright (C) 2010 Apple Inc. All rights reserved.
3
 * Portions Copyright (c) 2010 Motorola Mobility, Inc.  All rights reserved.
4
 * Copyright (C) 2011 Samsung Electronics. All rights reserved.
5
 *
6
 * Redistribution and use in source and binary forms, with or without
7
 * modification, are permitted provided that the following conditions
8
 * are met:
9
 * 1. Redistributions of source code must retain the above copyright
10
 *    notice, this list of conditions and the following disclaimer.
11
 * 2. Redistributions in binary form must reproduce the above copyright
12
 *    notice, this list of conditions and the following disclaimer in the
13
 *    documentation and/or other materials provided with the distribution.
14
 *
15
 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
16
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
17
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
18
 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
19
 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
25
 * THE POSSIBILITY OF SUCH DAMAGE.
26
 */
27
28
#include "config.h"
29
#include "WebPopupMenu.h"
30
31
#include "PlatformPopupMenuData.h"
32
#include <WebCore/NotImplemented.h>
33
34
using namespace WebCore;
35
36
namespace WebKit {
37
38
void WebPopupMenu::setUpPlatformData(const IntRect&, PlatformPopupMenuData&)
39
{
40
    notImplemented();
41
}
42
43
} // namespace WebKit

Return to Bug 62346