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

Issue 247943003: Allow compiling Android with notifications=1, add stubbed UI manager (Closed)

Created:
6 years, 8 months ago by Peter Beverloo
Modified:
6 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Allow compiling Android with notifications=1, add stubbed UI manager This patch makes it possible to compile Android's chrome_shell_apk target whilst setting notifications=1 in the GYP_DEFINES. It also adds a stubbed version of the NotificationUIManagerAndroid, which will be responsible for displaying notifcations (through the Android framework). Chrome for Android will not be using the new Message Center, because displaying notifications will be done by the platform directly. BUG=90795 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267041

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -36 lines) Patch
M chrome/browser/notifications/desktop_notification_service.cc View 1 8 chunks +18 lines, -9 lines 0 comments Download
D chrome/browser/notifications/notification_ui_manager.cc View 1 1 chunk +0 lines, -25 lines 0 comments Download
A chrome/browser/notifications/notification_ui_manager_android.h View 1 chunk +35 lines, -0 lines 0 comments Download
A chrome/browser/notifications/notification_ui_manager_android.cc View 1 1 chunk +58 lines, -0 lines 0 comments Download
A + chrome/browser/notifications/notification_ui_manager_desktop.cc View 1 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 3 chunks +8 lines, -1 line 0 comments Download
M ui/message_center/message_center.gyp View 1 2 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
Peter Beverloo
There are no buildbots currently compiling with notifications=1, but once the implementation got some more ...
6 years, 8 months ago (2014-04-22 18:58:18 UTC) #1
dewittj
https://codereview.chromium.org/247943003/diff/1/chrome/browser/notifications/notification_ui_manager.cc File chrome/browser/notifications/notification_ui_manager.cc (right): https://codereview.chromium.org/247943003/diff/1/chrome/browser/notifications/notification_ui_manager.cc#newcode9 chrome/browser/notifications/notification_ui_manager.cc:9: #include "chrome/browser/notifications/message_center_notification_manager.h" do you need to exclude these lines ...
6 years, 8 months ago (2014-04-22 19:03:17 UTC) #2
Peter Beverloo
https://codereview.chromium.org/247943003/diff/1/chrome/browser/notifications/notification_ui_manager.cc File chrome/browser/notifications/notification_ui_manager.cc (right): https://codereview.chromium.org/247943003/diff/1/chrome/browser/notifications/notification_ui_manager.cc#newcode9 chrome/browser/notifications/notification_ui_manager.cc:9: #include "chrome/browser/notifications/message_center_notification_manager.h" On 2014/04/22 19:03:18, dewittj wrote: > do ...
6 years, 8 months ago (2014-04-22 19:24:09 UTC) #3
dewittj
lgtm, no need to move them out if it's okay with respect to Chromium's history. ...
6 years, 8 months ago (2014-04-22 19:53:09 UTC) #4
stevenjb
lgtm https://codereview.chromium.org/247943003/diff/1/chrome/browser/notifications/notification_ui_manager.cc File chrome/browser/notifications/notification_ui_manager.cc (right): https://codereview.chromium.org/247943003/diff/1/chrome/browser/notifications/notification_ui_manager.cc#newcode9 chrome/browser/notifications/notification_ui_manager.cc:9: #include "chrome/browser/notifications/message_center_notification_manager.h" On 2014/04/22 19:24:10, Peter Beverloo wrote: ...
6 years, 8 months ago (2014-04-22 20:26:39 UTC) #5
Peter Beverloo
+bauerb for chrome/browser/prefs/browser_prefs.cc https://codereview.chromium.org/247943003/diff/1/chrome/browser/notifications/notification_ui_manager.cc File chrome/browser/notifications/notification_ui_manager.cc (right): https://codereview.chromium.org/247943003/diff/1/chrome/browser/notifications/notification_ui_manager.cc#newcode9 chrome/browser/notifications/notification_ui_manager.cc:9: #include "chrome/browser/notifications/message_center_notification_manager.h" On 2014/04/22 20:26:39, stevenjb ...
6 years, 7 months ago (2014-04-29 15:46:19 UTC) #6
Bernhard Bauer
c/b/p LGTM.
6 years, 7 months ago (2014-04-29 15:50:14 UTC) #7
Peter Beverloo
The CQ bit was checked by peter@chromium.org
6 years, 7 months ago (2014-04-29 17:04:58 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/peter@chromium.org/247943003/20001
6 years, 7 months ago (2014-04-29 17:05:53 UTC) #9
commit-bot: I haz the power
6 years, 7 months ago (2014-04-30 02:00:58 UTC) #10
Message was sent while issue was closed.
Change committed as 267041

Powered by Google App Engine
This is Rietveld 408576698