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

Issue 291893009: Fall back to X11 system tray icons if libappindicator is not available (Closed)

Created:
6 years, 7 months ago by pkotwicz
Modified:
6 years, 6 months ago
Reviewers:
Elliot Glaysher
CC:
chromium-reviews
Visibility:
Public.

Description

Fall back to X11 system tray icons if libappindicator is not available. This CL also splits out the code wrt to handling the GTK menu for the app indicator icon out of app_indicator_icon.cc in order to share code with gtk2_status_icon.cc BUG=267195 TEST=Manual, see steps below. 1) Run chrome in a system which does not have libappindicator 2) Generate HTML 5 notifications via https://developer.cdn.mozilla.net/media/uploads/demos/e/l/elfoxero/c17223c414d8ddafb7808972b5617d9e/html5-notifications_1400214081_demo_package/index.html 3) Ensure that the bell icon shows up in the system tray and that clicking on the bell icon brings up the message center Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273337

Patch Set 1 : #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+360 lines, -104 lines) Patch
M chrome/browser/ui/libgtk2ui/app_indicator_icon.h View 4 chunks +10 lines, -13 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/app_indicator_icon.cc View 1 2 6 chunks +19 lines, -89 lines 0 comments Download
A chrome/browser/ui/libgtk2ui/app_indicator_icon_menu.h View 1 2 1 chunk +66 lines, -0 lines 0 comments Download
A chrome/browser/ui/libgtk2ui/app_indicator_icon_menu.cc View 1 2 1 chunk +116 lines, -0 lines 0 comments Download
A chrome/browser/ui/libgtk2ui/gtk2_status_icon.h View 1 1 chunk +61 lines, -0 lines 0 comments Download
A chrome/browser/ui/libgtk2ui/gtk2_status_icon.cc View 1 1 chunk +80 lines, -0 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/gtk2_ui.cc View 1 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/libgtk2ui.gyp View 1 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
pkotwicz
Elliot, PTAL
6 years, 7 months ago (2014-05-27 23:02:09 UTC) #1
Elliot Glaysher
https://codereview.chromium.org/291893009/diff/80001/chrome/browser/ui/libgtk2ui/app_indicator_icon_fallback.cc File chrome/browser/ui/libgtk2ui/app_indicator_icon_fallback.cc (right): https://codereview.chromium.org/291893009/diff/80001/chrome/browser/ui/libgtk2ui/app_indicator_icon_fallback.cc#newcode65 chrome/browser/ui/libgtk2ui/app_indicator_icon_fallback.cc:65: delegate()->OnClick(); To make sure I understand this, this fires ...
6 years, 7 months ago (2014-05-27 23:25:51 UTC) #2
pkotwicz
https://codereview.chromium.org/291893009/diff/80001/chrome/browser/ui/libgtk2ui/app_indicator_icon_fallback.cc File chrome/browser/ui/libgtk2ui/app_indicator_icon_fallback.cc (right): https://codereview.chromium.org/291893009/diff/80001/chrome/browser/ui/libgtk2ui/app_indicator_icon_fallback.cc#newcode65 chrome/browser/ui/libgtk2ui/app_indicator_icon_fallback.cc:65: delegate()->OnClick(); Yes, that's correct https://codereview.chromium.org/291893009/diff/80001/chrome/browser/ui/libgtk2ui/app_indicator_icon_fallback.h File chrome/browser/ui/libgtk2ui/app_indicator_icon_fallback.h (right): https://codereview.chromium.org/291893009/diff/80001/chrome/browser/ui/libgtk2ui/app_indicator_icon_fallback.h#newcode30 ...
6 years, 7 months ago (2014-05-27 23:50:12 UTC) #3
Elliot Glaysher
lgtm
6 years, 7 months ago (2014-05-27 23:52:54 UTC) #4
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 6 months ago (2014-05-28 16:58:21 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/291893009/120001
6 years, 6 months ago (2014-05-28 16:59:48 UTC) #6
commit-bot: I haz the power
Change committed as 273337
6 years, 6 months ago (2014-05-28 20:14:20 UTC) #7
Mathieu
6 years, 6 months ago (2014-05-29 15:15:03 UTC) #8
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/304933002/ by mathp@chromium.org.

The reason for reverting is: Suspected ASAN leak on the bots. 

http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20LSan%20Te....

Powered by Google App Engine
This is Rietveld 408576698