Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / ui / message_center / notification_delegate.cc
index 09ef959..07b97f3 100644 (file)
@@ -8,8 +8,14 @@ namespace message_center {
 
 // NotificationDelegate:
 
+void NotificationDelegate::Display() {}
+
+void NotificationDelegate::Close(bool by_user) {}
+
 bool NotificationDelegate::HasClickedListener() { return false; }
 
+void NotificationDelegate::Click() {}
+
 void NotificationDelegate::ButtonClick(int button_index) {}
 
 // HandleNotificationClickedDelegate:
@@ -19,17 +25,7 @@ HandleNotificationClickedDelegate::HandleNotificationClickedDelegate(
     : closure_(closure) {
 }
 
-HandleNotificationClickedDelegate::~HandleNotificationClickedDelegate() {
-}
-
-void HandleNotificationClickedDelegate::Display() {
-}
-
-void HandleNotificationClickedDelegate::Error() {
-}
-
-void HandleNotificationClickedDelegate::Close(bool by_user) {
-}
+HandleNotificationClickedDelegate::~HandleNotificationClickedDelegate() {}
 
 bool HandleNotificationClickedDelegate::HasClickedListener() {
   return !closure_.is_null();
@@ -40,9 +36,6 @@ void HandleNotificationClickedDelegate::Click() {
     closure_.Run();
 }
 
-void HandleNotificationClickedDelegate::ButtonClick(int button_index) {
-}
-
 // HandleNotificationButtonClickDelegate:
 
 HandleNotificationButtonClickDelegate::HandleNotificationButtonClickDelegate(
@@ -51,20 +44,7 @@ HandleNotificationButtonClickDelegate::HandleNotificationButtonClickDelegate(
 }
 
 HandleNotificationButtonClickDelegate::
-    ~HandleNotificationButtonClickDelegate() {
-}
-
-void HandleNotificationButtonClickDelegate::Display() {
-}
-
-void HandleNotificationButtonClickDelegate::Error() {
-}
-
-void HandleNotificationButtonClickDelegate::Close(bool by_user) {
-}
-
-void HandleNotificationButtonClickDelegate::Click() {
-}
+    ~HandleNotificationButtonClickDelegate() {}
 
 void HandleNotificationButtonClickDelegate::ButtonClick(int button_index) {
   if (!button_callback_.is_null())