Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2370)

Unified Diff: Source/modules/notifications/Notification.cpp

Issue 20300002: Fix trailing whitespace in .cpp, .h, and .idl files (ex. Source/core) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/notifications/Notification.cpp
diff --git a/Source/modules/notifications/Notification.cpp b/Source/modules/notifications/Notification.cpp
index 2fa9a0e258bbdf96461a5753605e74e47f3343b0..68c009a847aa7ac7154bb2ded29aa2e666bd4a60 100644
--- a/Source/modules/notifications/Notification.cpp
+++ b/Source/modules/notifications/Notification.cpp
@@ -115,26 +115,26 @@ Notification::Notification(ScriptExecutionContext* context, const String& title)
{
ScriptWrappable::init(this);
m_notificationCenter = DOMWindowNotifications::webkitNotifications(toDocument(context)->domWindow());
-
+
ASSERT(m_notificationCenter->client());
m_taskTimer->startOneShot(0);
}
#endif
-Notification::~Notification()
+Notification::~Notification()
{
}
#if ENABLE(LEGACY_NOTIFICATIONS)
PassRefPtr<Notification> Notification::create(const KURL& url, ScriptExecutionContext* context, ExceptionState& es, PassRefPtr<NotificationCenter> provider)
-{
+{
RefPtr<Notification> notification(adoptRef(new Notification(url, context, es, provider)));
notification->suspendIfNeeded();
return notification.release();
}
PassRefPtr<Notification> Notification::create(const String& title, const String& body, const String& iconURI, ScriptExecutionContext* context, ExceptionState& es, PassRefPtr<NotificationCenter> provider)
-{
+{
RefPtr<Notification> notification(adoptRef(new Notification(title, body, iconURI, context, es, provider)));
notification->suspendIfNeeded();
return notification.release();
@@ -170,7 +170,7 @@ const AtomicString& Notification::interfaceName() const
return eventNames().interfaceForNotification;
}
-void Notification::show()
+void Notification::show()
{
// prevent double-showing
if (m_state == Idle && m_notificationCenter->client()) {
@@ -281,7 +281,7 @@ const String& Notification::permissionString(NotificationClient::Permission perm
case NotificationClient::PermissionNotAllowed:
return defaultPermission;
}
-
+
ASSERT_NOT_REACHED();
return deniedPermission;
}
« no previous file with comments | « Source/modules/notifications/DOMWindowNotifications.cpp ('k') | Source/modules/notifications/NotificationClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698