[EFL] Change class name from NotificationClientEfl to NotificationPresenterClientEfl.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Jul 2012 10:54:01 +0000 (10:54 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Jul 2012 10:54:01 +0000 (10:54 +0000)
https://bugs.webkit.org/show_bug.cgi?id=90542

Patch by Kihong Kwon <kihong.kwon@samsung.com> on 2012-07-05
Reviewed by Kenneth Rohde Christiansen.

Source/WebKit:

NotificationClientEfl.cpp is changed to NotificationPresenterClientEfl.cpp
to be in line with other ports(qt, chromium, gtk).

* PlatformEfl.cmake:

Source/WebKit/efl:

Change class name from NotificationClientEfl to NotificationPresenterClientEfl
to be in line with other ports.(qt, chromium, blackberry)

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

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@121898 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/NotificationPresenterClientEfl.cpp [moved from Source/WebKit/efl/WebCoreSupport/NotificationClientEfl.cpp with 60% similarity]
Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.h [moved from Source/WebKit/efl/WebCoreSupport/NotificationClientEfl.h with 84% similarity]

index e950373..fa4d58f 100644 (file)
@@ -1,3 +1,15 @@
+2012-07-05  Kihong Kwon  <kihong.kwon@samsung.com>
+
+        [EFL] Change class name from NotificationClientEfl to NotificationPresenterClientEfl.
+        https://bugs.webkit.org/show_bug.cgi?id=90542
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        NotificationClientEfl.cpp is changed to NotificationPresenterClientEfl.cpp
+        to be in line with other ports(qt, chromium, gtk).
+
+        * PlatformEfl.cmake:
+
 2012-07-04  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
 
         [Qt] Remove a few un-needed load(features) after r121777
index 12212ef..b8c8bd2 100644 (file)
@@ -103,7 +103,7 @@ LIST(APPEND WebKit_SOURCES
     efl/WebCoreSupport/IconDatabaseClientEfl.cpp
     efl/WebCoreSupport/StorageTrackerClientEfl.cpp
     efl/WebCoreSupport/InspectorClientEfl.cpp
-    efl/WebCoreSupport/NotificationClientEfl.cpp
+    efl/WebCoreSupport/NotificationPresenterClientEfl.cpp
     efl/WebCoreSupport/PageClientEfl.cpp
     efl/WebCoreSupport/PlatformStrategiesEfl.cpp 
 
index 7dc9a22..751713c 100644 (file)
@@ -1,3 +1,29 @@
+2012-07-05  Kihong Kwon  <kihong.kwon@samsung.com>
+
+        [EFL] Change class name from NotificationClientEfl to NotificationPresenterClientEfl.
+        https://bugs.webkit.org/show_bug.cgi?id=90542
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        Change class name from NotificationClientEfl to NotificationPresenterClientEfl
+        to be in line with other ports.(qt, chromium, blackberry)
+
+        * WebCoreSupport/ChromeClientEfl.cpp:
+        * WebCoreSupport/NotificationPresenterClientEfl.cpp: Renamed from Source/WebKit/efl/WebCoreSupport/NotificationClientEfl.cpp.
+        (WebCore):
+        (WebCore::NotificationPresenterClientEfl::NotificationPresenterClientEfl):
+        (WebCore::NotificationPresenterClientEfl::~NotificationPresenterClientEfl):
+        (WebCore::NotificationPresenterClientEfl::show):
+        (WebCore::NotificationPresenterClientEfl::cancel):
+        (WebCore::NotificationPresenterClientEfl::notificationObjectDestroyed):
+        (WebCore::NotificationPresenterClientEfl::notificationControllerDestroyed):
+        (WebCore::NotificationPresenterClientEfl::requestPermission):
+        (WebCore::NotificationPresenterClientEfl::checkPermission):
+        (WebCore::NotificationPresenterClientEfl::cancelRequestsForPermission):
+        * WebCoreSupport/NotificationPresenterClientEfl.h: Renamed from Source/WebKit/efl/WebCoreSupport/NotificationClientEfl.h.
+        (WebCore):
+        (NotificationPresenterClientEfl):
+
 2012-07-02  Benjamin Poulain  <bpoulain@apple.com>
 
         Do not do any logging initialization when logging is disabled
index 0c775b3..a234bf9 100644 (file)
@@ -62,7 +62,7 @@
 #include <wtf/text/CString.h>
 
 #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
-#include "NotificationClientEfl.h"
+#include "NotificationPresenterClientEfl.h"
 #endif
 
 #if ENABLE(SQL_DATABASE)
  */
 
 #include "config.h"
-#include "NotificationClientEfl.h"
+#include "NotificationPresenterClientEfl.h"
 
 #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
 #include "NotImplemented.h"
 
 namespace WebCore {
 
-NotificationClientEfl::NotificationClientEfl()
+NotificationPresenterClientEfl::NotificationPresenterClientEfl()
 {
 }
 
-NotificationClientEfl::~NotificationClientEfl()
+NotificationPresenterClientEfl::~NotificationPresenterClientEfl()
 {
 }
 
-bool NotificationClientEfl::show(Notification* notification)
+bool NotificationPresenterClientEfl::show(Notification* notification)
 {
     notImplemented();
     return false;
 }
 
-void NotificationClientEfl::cancel(Notification* notification)
+void NotificationPresenterClientEfl::cancel(Notification* notification)
 {
     notImplemented();
 }
 
-void NotificationClientEfl::notificationObjectDestroyed(Notification* notification)
+void NotificationPresenterClientEfl::notificationObjectDestroyed(Notification* notification)
 {
     notImplemented();
 }
 
-void NotificationClientEfl::notificationControllerDestroyed()
+void NotificationPresenterClientEfl::notificationControllerDestroyed()
 {
     notImplemented();
 }
 
-void NotificationClientEfl::requestPermission(ScriptExecutionContext* context, PassRefPtr<VoidCallback> callback)
+void NotificationPresenterClientEfl::requestPermission(ScriptExecutionContext* context, PassRefPtr<VoidCallback> callback)
 {
     notImplemented();
 }
 
-NotificationClient::Permission NotificationClientEfl::checkPermission(ScriptExecutionContext* context)
+NotificationClient::Permission NotificationPresenterClientEfl::checkPermission(ScriptExecutionContext* context)
 {
     notImplemented();
     return PermissionDenied;
 }
 
-void NotificationClientEfl::cancelRequestsForPermission(ScriptExecutionContext* context)
+void NotificationPresenterClientEfl::cancelRequestsForPermission(ScriptExecutionContext* context)
 {
     notImplemented();
 }
@@ -17,8 +17,8 @@
  *  Boston, MA 02110-1301, USA.
  */
 
-#ifndef NotificationClientEfl_h
-#define NotificationClientEfl_h
+#ifndef NotificationPresenterClientEfl_h
+#define NotificationPresenterClientEfl_h
 
 #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
 #include "Notification.h"
 
 namespace WebCore {
 
-class NotificationClientEfl : public NotificationClient {
+class NotificationPresenterClientEfl : public NotificationClient {
 
 public:
-    NotificationClientEfl();
-    ~NotificationClientEfl();
+    NotificationPresenterClientEfl();
+    ~NotificationPresenterClientEfl();
 
     virtual bool show(Notification*);
     virtual void cancel(Notification*);
@@ -43,4 +43,4 @@ public:
 
 }
 #endif
-#endif // NotificationClientEfl_h
+#endif // NotificationPresenterClientEfl_h