| Differences between
and this patch
- a/Source/WebKit/ChangeLog +13 lines
Lines 1-3 a/Source/WebKit/ChangeLog_sec1
1
2012-03-27  Byungwoo Lee  <bw80.lee@samsung.com>
2
3
        [EFL] Add dummy GeolocationClientEfl.cpp | h.
4
        https://bugs.webkit.org/show_bug.cgi?id=79354
5
6
        Reviewed by NOBODY (OOPS!).
7
8
        Add dummy GeolocationClientEfl class for EFL geolocation.
9
10
        * PlatformEfl.cmake:
11
        * efl/WebCoreSupport/GeolocationClientEfl.cpp: Added.
12
        * efl/WebCoreSupport/GeolocationClientEfl.h: Added.
13
1
2012-03-22  Raphael Kubo da Costa  <rakuco@FreeBSD.org>
14
2012-03-22  Raphael Kubo da Costa  <rakuco@FreeBSD.org>
2
15
3
        [CMake] Unreviewed build fix after r111778.
16
        [CMake] Unreviewed build fix after r111778.
- a/Source/WebKit/efl/ChangeLog +13 lines
Lines 1-3 a/Source/WebKit/efl/ChangeLog_sec1
1
2012-03-27  Byungwoo Lee  <bw80.lee@samsung.com>
2
3
        [EFL] Add dummy GeolocationClientEfl.cpp | h.
4
        https://bugs.webkit.org/show_bug.cgi?id=79354
5
6
        Reviewed by NOBODY (OOPS!).
7
8
        Add dummy GeolocationClientEfl class for EFL geolocation.
9
10
        * ewk/ewk_view.cpp:
11
        (_Ewk_View_Private_Data):
12
        (_ewk_view_priv_new):
13
1
2012-03-23  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
14
2012-03-23  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
2
15
3
        [EFL][DRT] Implement LayoutTestController's methods related with editing.
16
        [EFL][DRT] Implement LayoutTestController's methods related with editing.
- a/Source/WebKit/PlatformEfl.cmake +9 lines
Lines 128-133 IF (ENABLE_VIBRATION) a/Source/WebKit/PlatformEfl.cmake_sec1
128
    )
128
    )
129
ENDIF ()
129
ENDIF ()
130
130
131
IF (ENABLE_GEOLOCATION)
132
  LIST(APPEND WebKit_INCLUDE_DIRECTORIES
133
    ${WEBCORE_DIR}/Modules/geolocation
134
  )
135
  LIST(APPEND WebKit_SOURCES
136
    efl/WebCoreSupport/GeolocationClientEfl.cpp
137
  )
138
ENDIF ()
139
131
IF (ENABLE_BATTERY_STATUS)
140
IF (ENABLE_BATTERY_STATUS)
132
    LIST(APPEND WebKit_INCLUDE_DIRECTORIES ${WEBCORE_DIR}/Modules/battery)
141
    LIST(APPEND WebKit_INCLUDE_DIRECTORIES ${WEBCORE_DIR}/Modules/battery)
133
    LIST(APPEND WebKit_SOURCES efl/WebCoreSupport/BatteryClientEfl.cpp)
142
    LIST(APPEND WebKit_SOURCES efl/WebCoreSupport/BatteryClientEfl.cpp)
- a/Source/WebKit/efl/WebCoreSupport/GeolocationClientEfl.cpp +73 lines
Line 0 a/Source/WebKit/efl/WebCoreSupport/GeolocationClientEfl.cpp_sec1
1
/*
2
 *  Copyright (C) 2012 Samsung Electronics
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
#include "config.h"
21
#include "GeolocationClientEfl.h"
22
23
#if ENABLE(GEOLOCATION)
24
25
#include "NotImplemented.h"
26
27
namespace WebCore {
28
29
GeolocationClientEfl::GeolocationClientEfl(PassRefPtr<Evas_Object> view)
30
    : m_view(view)
31
{
32
    ASSERT(m_view);
33
}
34
35
void GeolocationClientEfl::geolocationDestroyed()
36
{
37
    delete this;
38
}
39
40
void GeolocationClientEfl::startUpdating()
41
{
42
    notImplemented();
43
}
44
45
void GeolocationClientEfl::stopUpdating()
46
{
47
    notImplemented();
48
}
49
50
void GeolocationClientEfl::setEnableHighAccuracy(bool enable)
51
{
52
    notImplemented();
53
}
54
55
WebCore::GeolocationPosition* GeolocationClientEfl::lastPosition()
56
{
57
    notImplemented();
58
    return 0;
59
}
60
61
void GeolocationClientEfl::requestPermission(Geolocation* geolocation)
62
{
63
    notImplemented();
64
}
65
66
void GeolocationClientEfl::cancelPermissionRequest(Geolocation* geolocation)
67
{
68
    notImplemented();
69
}
70
71
}
72
73
#endif // ENABLE(GEOLOCATION)
- a/Source/WebKit/efl/WebCoreSupport/GeolocationClientEfl.h +55 lines
Line 0 a/Source/WebKit/efl/WebCoreSupport/GeolocationClientEfl.h_sec1
1
/*
2
 *  Copyright (C) 2012 Samsung Electronics
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
#ifndef GeolocationClientEfl_h
21
#define GeolocationClientEfl_h
22
23
#if ENABLE(GEOLOCATION)
24
25
#include "EWebKit.h"
26
#include "GeolocationClient.h"
27
#include "GeolocationPosition.h"
28
#include "RefPtrEfl.h"
29
30
namespace WebCore {
31
class Geolocation;
32
33
class GeolocationClientEfl : public GeolocationClient {
34
public:
35
    GeolocationClientEfl(PassRefPtr<Evas_Object> view);
36
    ~GeolocationClientEfl() { };
37
38
    virtual void geolocationDestroyed();
39
40
    virtual void startUpdating();
41
    virtual void stopUpdating();
42
    virtual void setEnableHighAccuracy(bool);
43
    virtual GeolocationPosition* lastPosition();
44
45
    virtual void requestPermission(Geolocation*);
46
    virtual void cancelPermissionRequest(Geolocation*);
47
48
private:
49
    RefPtr<Evas_Object> m_view;
50
};
51
} // namespace WebCore
52
53
#endif // ENABLE(GEOLOCATION)
54
55
#endif // GeolocationClientEfl_h
- a/Source/WebKit/efl/ewk/ewk_view.cpp +7 lines
Lines 71-76 a/Source/WebKit/efl/ewk/ewk_view.cpp_sec1
71
#include "DeviceOrientationClientEfl.h"
71
#include "DeviceOrientationClientEfl.h"
72
#endif
72
#endif
73
73
74
#if ENABLE(GEOLOCATION)
75
#include "GeolocationClientEfl.h"
76
#endif
77
74
#if ENABLE(VIBRATION)
78
#if ENABLE(VIBRATION)
75
#include "VibrationClientEfl.h"
79
#include "VibrationClientEfl.h"
76
#endif
80
#endif
Lines 616-621 static Ewk_View_Private_Data* _ewk_view_priv_new(Ewk_View_Smart_Data* smartData) a/Source/WebKit/efl/ewk/ewk_view.cpp_sec2
616
    pageClients.editorClient = new WebCore::EditorClientEfl(smartData->self);
620
    pageClients.editorClient = new WebCore::EditorClientEfl(smartData->self);
617
    pageClients.dragClient = new WebCore::DragClientEfl;
621
    pageClients.dragClient = new WebCore::DragClientEfl;
618
    pageClients.inspectorClient = new WebCore::InspectorClientEfl;
622
    pageClients.inspectorClient = new WebCore::InspectorClientEfl;
623
#if ENABLE(GEOLOCATION)
624
    pageClients.geolocationClient = new WebCore::GeolocationClientEfl(smartData->self);
625
#endif
619
626
620
    priv->page = adoptPtr(new WebCore::Page(pageClients));
627
    priv->page = adoptPtr(new WebCore::Page(pageClients));
621
628

Return to Bug 79354