[EFL] Rename NotificationPresenterEfl with NotificationClientEfl
authorgyuyoung.kim@samsung.com <gyuyoung.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Jul 2012 15:21:35 +0000 (15:21 +0000)
committergyuyoung.kim@samsung.com <gyuyoung.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Jul 2012 15:21:35 +0000 (15:21 +0000)
https://bugs.webkit.org/show_bug.cgi?id=90370

Reviewed by Csaba Osztrogonác.

Source/WebKit:

Bug 80488 renamed NotificationPresenter with NotificationClient. So, EFL port needs to adjust
it as well.

* PlatformEfl.cmake:

Source/WebKit/efl:

Bug 80488 renamed NotificationPresenter with NotificationClient. So, EFL port needs to adjust it as well.

* WebCoreSupport/ChromeClientEfl.cpp:
* WebCoreSupport/NotificationClientEfl.cpp: Renamed from Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.cpp.
(WebCore):
(WebCore::NotificationClientEfl::NotificationClientEfl):
(WebCore::NotificationClientEfl::~NotificationClientEfl):
(WebCore::NotificationClientEfl::show):
(WebCore::NotificationClientEfl::cancel):
(WebCore::NotificationClientEfl::notificationObjectDestroyed):
(WebCore::NotificationClientEfl::notificationControllerDestroyed):
(WebCore::NotificationClientEfl::requestPermission):
(WebCore::NotificationClientEfl::checkPermission):
(WebCore::NotificationClientEfl::cancelRequestsForPermission):
* WebCoreSupport/NotificationClientEfl.h: Renamed from Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.h.
(WebCore):
(NotificationClientEfl):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121679 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/PlatformEfl.cmake
Source/WebKit/efl/ChangeLog
Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.cpp
Source/WebKit/efl/WebCoreSupport/NotificationClientEfl.cpp [moved from Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.cpp with 59% similarity]
Source/WebKit/efl/WebCoreSupport/NotificationClientEfl.h [moved from Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.h with 76% similarity]

index 273da6b..23c922e 100644 (file)
@@ -1,3 +1,15 @@
+2012-07-02  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
+
+        [EFL] Rename NotificationPresenterEfl with NotificationClientEfl
+        https://bugs.webkit.org/show_bug.cgi?id=90370
+
+        Reviewed by Csaba Osztrogonác.
+
+        Bug 80488 renamed NotificationPresenter with NotificationClient. So, EFL port needs to adjust
+        it as well.
+
+        * PlatformEfl.cmake:
+
 2012-06-29  Krzysztof Czech  <k.czech@samsung.com>
 
         [EFL] Add support for Unit Tests, based on the gtest library.
index ff3248c..92956df 100644 (file)
@@ -103,7 +103,7 @@ LIST(APPEND WebKit_SOURCES
     efl/WebCoreSupport/IconDatabaseClientEfl.cpp
     efl/WebCoreSupport/StorageTrackerClientEfl.cpp
     efl/WebCoreSupport/InspectorClientEfl.cpp
-    efl/WebCoreSupport/NotificationPresenterClientEfl.cpp
+    efl/WebCoreSupport/NotificationClientEfl.cpp
     efl/WebCoreSupport/PageClientEfl.cpp
     efl/WebCoreSupport/PlatformStrategiesEfl.cpp 
 
index 1dbfdad..4591ff2 100644 (file)
@@ -1,3 +1,28 @@
+2012-07-02  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
+
+        [EFL] Rename NotificationPresenterEfl with NotificationClientEfl
+        https://bugs.webkit.org/show_bug.cgi?id=90370
+
+        Reviewed by Csaba Osztrogonác.
+
+        Bug 80488 renamed NotificationPresenter with NotificationClient. So, EFL port needs to adjust it as well.
+
+        * WebCoreSupport/ChromeClientEfl.cpp:
+        * WebCoreSupport/NotificationClientEfl.cpp: Renamed from Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.cpp.
+        (WebCore):
+        (WebCore::NotificationClientEfl::NotificationClientEfl):
+        (WebCore::NotificationClientEfl::~NotificationClientEfl):
+        (WebCore::NotificationClientEfl::show):
+        (WebCore::NotificationClientEfl::cancel):
+        (WebCore::NotificationClientEfl::notificationObjectDestroyed):
+        (WebCore::NotificationClientEfl::notificationControllerDestroyed):
+        (WebCore::NotificationClientEfl::requestPermission):
+        (WebCore::NotificationClientEfl::checkPermission):
+        (WebCore::NotificationClientEfl::cancelRequestsForPermission):
+        * WebCoreSupport/NotificationClientEfl.h: Renamed from Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.h.
+        (WebCore):
+        (NotificationClientEfl):
+
 2012-06-29  Krzysztof Czech  <k.czech@samsung.com>, Tomasz Morawski <t.morawski@samsung.com>
 
         [EFL] Implementation of testing framework and unit tests for WebKit-EFL port.
index a234bf9..0c775b3 100644 (file)
@@ -62,7 +62,7 @@
 #include <wtf/text/CString.h>
 
 #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
-#include "NotificationPresenterClientEfl.h"
+#include "NotificationClientEfl.h"
 #endif
 
 #if ENABLE(SQL_DATABASE)
  */
 
 #include "config.h"
-#include "NotificationPresenterClientEfl.h"
+#include "NotificationClientEfl.h"
 
 #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
 #include "NotImplemented.h"
 
 namespace WebCore {
 
-NotificationPresenterClientEfl::NotificationPresenterClientEfl()
+NotificationClientEfl::NotificationClientEfl()
 {
 }
 
-NotificationPresenterClientEfl::~NotificationPresenterClientEfl()
+NotificationClientEfl::~NotificationClientEfl()
 {
 }
 
-bool NotificationPresenterClientEfl::show(Notification* notification)
+bool NotificationClientEfl::show(Notification* notification)
 {
     notImplemented();
     return false;
 }
 
-void NotificationPresenterClientEfl::cancel(Notification* notification)
+void NotificationClientEfl::cancel(Notification* notification)
 {
     notImplemented();
 }
 
-void NotificationPresenterClientEfl::notificationObjectDestroyed(Notification* notification)
+void NotificationClientEfl::notificationObjectDestroyed(Notification* notification)
 {
     notImplemented();
 }
 
-void NotificationPresenterClientEfl::notificationControllerDestroyed()
+void NotificationClientEfl::notificationControllerDestroyed()
 {
     notImplemented();
 }
 
-void NotificationPresenterClientEfl::requestPermission(ScriptExecutionContext* context, PassRefPtr<VoidCallback> callback)
+void NotificationClientEfl::requestPermission(ScriptExecutionContext* context, PassRefPtr<VoidCallback> callback)
 {
     notImplemented();
 }
 
-NotificationPresenter::Permission NotificationPresenterClientEfl::checkPermission(ScriptExecutionContext* context)
+NotificationClient::Permission NotificationClientEfl::checkPermission(ScriptExecutionContext* context)
 {
     notImplemented();
     return PermissionDenied;
 }
 
-void NotificationPresenterClientEfl::cancelRequestsForPermission(ScriptExecutionContext* context)
+void NotificationClientEfl::cancelRequestsForPermission(ScriptExecutionContext* context)
 {
     notImplemented();
 }
  *  Boston, MA 02110-1301, USA.
  */
 
-#ifndef NotificationPresenterClientEfl_h
-#define NotificationPresenterClientEfl_h
+#ifndef NotificationClientEfl_h
+#define NotificationClientEfl_h
 
 #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
 #include "Notification.h"
-#include "NotificationPresenter.h"
+#include "NotificationClient.h"
 
 namespace WebCore {
 
-class NotificationPresenterClientEfl : public NotificationPresenter {
+class NotificationClientEfl : public NotificationClient {
 
 public:
-    NotificationPresenterClientEfl();
-    ~NotificationPresenterClientEfl();
+    NotificationClientEfl();
+    ~NotificationClientEfl();
 
     virtual bool show(Notification*);
     virtual void cancel(Notification*);
     virtual void notificationObjectDestroyed(Notification*);
     virtual void notificationControllerDestroyed();
     virtual void requestPermission(ScriptExecutionContext*, PassRefPtr<VoidCallback>);
-    virtual NotificationPresenter::Permission checkPermission(ScriptExecutionContext*);
+    virtual NotificationClient::Permission checkPermission(ScriptExecutionContext*);
     virtual void cancelRequestsForPermission(ScriptExecutionContext*);
 };
 
 }
 #endif
-#endif // NotificationPresenterClientEfl_h
+#endif // NotificationClientEfl_h