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

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: Created 5 years 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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 232
233 bool NotificationUIManagerAndroid::CancelAllByProfile(ProfileID profile_id) { 233 bool NotificationUIManagerAndroid::CancelAllByProfile(ProfileID profile_id) {
234 NOTREACHED(); 234 NOTREACHED();
235 return false; 235 return false;
236 } 236 }
237 237
238 void NotificationUIManagerAndroid::CancelAll() { 238 void NotificationUIManagerAndroid::CancelAll() {
239 NOTREACHED(); 239 NOTREACHED();
240 } 240 }
241 241
242 // TODO(miguelg) Notifications in Android are actually native
243 // need to generalize this.
244 bool NotificationUIManagerAndroid::AcceptNativeNotifications() {
245 return false;
246 }
247
242 bool NotificationUIManagerAndroid::RegisterNotificationUIManager(JNIEnv* env) { 248 bool NotificationUIManagerAndroid::RegisterNotificationUIManager(JNIEnv* env) {
243 return RegisterNativesImpl(env); 249 return RegisterNativesImpl(env);
244 } 250 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698