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

Unified Diff: mojo/services/html_viewer/webnotificationmanager_impl.cc

Issue 1093433002: html_viewer: Add a mock WebNotificationManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sky nits Created 5 years, 8 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
« no previous file with comments | « mojo/services/html_viewer/webnotificationmanager_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..fabca5ed6074545257404008640ed41ecdfb76e0
--- /dev/null
+++ b/mojo/services/html_viewer/webnotificationmanager_impl.cc
@@ -0,0 +1,63 @@
+// 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() {}
+
+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();
+}
+
+} // namespace html_viewer
« no previous file with comments | « mojo/services/html_viewer/webnotificationmanager_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698