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

Issue 6903017: GTK: Add download notifications to the unity dock. (Closed)

Created:
9 years, 8 months ago by Elliot Glaysher
Modified:
9 years, 7 months ago
Reviewers:
Evan Martin, Evan Stade
CC:
chromium-reviews, rdsmith+dwatch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

GTK: Integrate with the Unity desktop environment. - When we're maximized and unity is active, don't draw the min/max/close buttons. Unity will take care of that in the title bar. - When unity is active and we're downloading a file, badge the dock icon like we do on other platforms. BUG=75485 TEST=Using a custom frame, maximize the window while running unity. We shouldn't draw our own min/max/close buttons. TEST=Download a file on Natty; download count/progress bar should appear on dock icon. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=83173

Patch Set 1 #

Patch Set 2 : s/launcher/dock/; #

Total comments: 6

Patch Set 3 : Rework as Unity Service #

Patch Set 4 : Small modifications after using it on Natty #

Patch Set 5 : Actually commit before sending out #

Total comments: 6

Patch Set 6 : evnam comments #

Patch Set 7 : evnam comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -6 lines) Patch
M chrome/browser/download/download_util.cc View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/browser_titlebar.cc View 1 2 3 4 5 3 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/ui/gtk/browser_window_gtk.cc View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
A chrome/browser/ui/gtk/unity_service.h View 1 2 3 4 5 1 chunk +25 lines, -0 lines 0 comments Download
A chrome/browser/ui/gtk/unity_service.cc View 1 2 3 4 5 1 chunk +126 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Elliot Glaysher
Screenshot to be sent immediately after.
9 years, 8 months ago (2011-04-26 00:22:52 UTC) #1
Elliot Glaysher
Screenshot On Mon, Apr 25, 2011 at 5:22 PM, <erg@chromium.org> wrote: > Reviewers: Evan Martin, ...
9 years, 8 months ago (2011-04-26 00:23:36 UTC) #2
Evan Martin
http://codereview.chromium.org/6903017/diff/2001/chrome/browser/download/download_util.cc File chrome/browser/download/download_util.cc (right): http://codereview.chromium.org/6903017/diff/2001/chrome/browser/download/download_util.cc#newcode761 chrome/browser/download/download_util.cc:761: DockService* service = DockService::GetService(); This appears to make blocking ...
9 years, 8 months ago (2011-04-26 00:33:52 UTC) #3
Elliot Glaysher
http://codereview.chromium.org/6903017/diff/2001/chrome/browser/download/download_util.cc File chrome/browser/download/download_util.cc (right): http://codereview.chromium.org/6903017/diff/2001/chrome/browser/download/download_util.cc#newcode761 chrome/browser/download/download_util.cc:761: DockService* service = DockService::GetService(); On 2011/04/26 00:33:52, Evan Martin ...
9 years, 8 months ago (2011-04-26 01:02:39 UTC) #4
Elliot Glaysher
I have completely changed the patch. - Since discovering that libunity does all the logic ...
9 years, 8 months ago (2011-04-26 20:52:08 UTC) #5
Evan Martin
I like the approach. http://codereview.chromium.org/6903017/diff/22/chrome/browser/ui/gtk/browser_titlebar.cc File chrome/browser/ui/gtk/browser_titlebar.cc (right): http://codereview.chromium.org/6903017/diff/22/chrome/browser/ui/gtk/browser_titlebar.cc#newcode32 chrome/browser/ui/gtk/browser_titlebar.cc:32: #include "chrome/browser/ui/gtk/unity_service.h" u comes after ...
9 years, 8 months ago (2011-04-26 21:33:04 UTC) #6
Elliot Glaysher
TAL? http://codereview.chromium.org/6903017/diff/22/chrome/browser/ui/gtk/unity_service.cc File chrome/browser/ui/gtk/unity_service.cc (right): http://codereview.chromium.org/6903017/diff/22/chrome/browser/ui/gtk/unity_service.cc#newcode103 chrome/browser/ui/gtk/unity_service.cc:103: return get_unity_running(inspector); On 2011/04/26 21:33:04, Evan Martin wrote: ...
9 years, 8 months ago (2011-04-26 21:44:40 UTC) #7
Evan Martin
9 years, 8 months ago (2011-04-26 21:50:20 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698