Index: mojo/services/html_viewer/webnotificationmanager_impl.cc |
diff --git a/mojo/services/html_viewer/webnotificationmanager_impl.cc b/mojo/services/html_viewer/webnotificationmanager_impl.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..79d852d30b8bb97490ad7bb8552684bcec5572a7 |
--- /dev/null |
+++ b/mojo/services/html_viewer/webnotificationmanager_impl.cc |
@@ -0,0 +1,61 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "mojo/services/html_viewer/webnotificationmanager_impl.h" |
+ |
+#include "base/logging.h" |
+ |
+namespace html_viewer { |
+ |
+WebNotificationManagerImpl::~WebNotificationManagerImpl() {} |
+ |
+void WebNotificationManagerImpl::show(const blink::WebSerializedOrigin&, |
+ const blink::WebNotificationData&, |
+ blink::WebNotificationDelegate*) { |
+ NOTIMPLEMENTED(); |
+} |
+ |
+void WebNotificationManagerImpl::showPersistent( |
+ const blink::WebSerializedOrigin&, |
+ const blink::WebNotificationData&, |
+ blink::WebServiceWorkerRegistration*, |
+ blink::WebNotificationShowCallbacks*) { |
+ NOTIMPLEMENTED(); |
+} |
+ |
+void WebNotificationManagerImpl::getNotifications( |
+ const blink::WebString& filterTag, |
+ blink::WebServiceWorkerRegistration*, |
+ blink::WebNotificationGetCallbacks*) { |
+ NOTIMPLEMENTED(); |
+} |
+ |
+void WebNotificationManagerImpl::close(blink::WebNotificationDelegate*) { |
+ NOTIMPLEMENTED(); |
+} |
+ |
+void WebNotificationManagerImpl::closePersistent( |
+ const blink::WebSerializedOrigin&, |
+ int64_t persistentNotificationId) { |
+ NOTIMPLEMENTED(); |
+} |
+ |
+void WebNotificationManagerImpl::closePersistent( |
+ const blink::WebSerializedOrigin&, |
+ const blink::WebString& persistentNotificationId) { |
+ NOTIMPLEMENTED(); |
+} |
+ |
+void WebNotificationManagerImpl::notifyDelegateDestroyed( |
+ blink::WebNotificationDelegate*) { |
+ NOTIMPLEMENTED(); |
+} |
+ |
+blink::WebNotificationPermission WebNotificationManagerImpl::checkPermission( |
+ const blink::WebSerializedOrigin&) { |
+ NOTIMPLEMENTED(); |
+ return blink::WebNotificationPermission(); |
Elliot Glaysher
2015/04/15 23:10:01
This is the function that gets called fairly consi
|
+} |
+ |
+} // namespace html_viewer |