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

Side by Side Diff: chrome/browser/notifications/notification_ui_manager_android.cc

Issue 1509923002: Implement native web notifications for mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/notifications/notification_ui_manager_android.h" 5 #include "chrome/browser/notifications/notification_ui_manager_android.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/android/context_utils.h" 9 #include "base/android/context_utils.h"
10 #include "base/android/jni_array.h" 10 #include "base/android/jni_array.h"
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 262
263 bool NotificationUIManagerAndroid::CancelAllByProfile(ProfileID profile_id) { 263 bool NotificationUIManagerAndroid::CancelAllByProfile(ProfileID profile_id) {
264 NOTREACHED(); 264 NOTREACHED();
265 return false; 265 return false;
266 } 266 }
267 267
268 void NotificationUIManagerAndroid::CancelAll() { 268 void NotificationUIManagerAndroid::CancelAll() {
269 NOTREACHED(); 269 NOTREACHED();
270 } 270 }
271 271
272 // TODO(miguelg) Notifications in Android are actually native
273 // need to generalize this.
274 bool NotificationUIManagerAndroid::AcceptNativeNotifications() {
275 return false;
276 }
277
272 bool NotificationUIManagerAndroid::RegisterNotificationUIManager(JNIEnv* env) { 278 bool NotificationUIManagerAndroid::RegisterNotificationUIManager(JNIEnv* env) {
273 return RegisterNativesImpl(env); 279 return RegisterNativesImpl(env);
274 } 280 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698