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

Issue 173606: Add background_tile_view for tiling an image as UI background (about box need... (Closed)

Created:
11 years, 3 months ago by TVL
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, John Grabowski, Pam (message me for reviews), Ben Goodger (Google), Paweł Hajdan Jr.
Visibility:
Public.

Description

Add background_tile_view for tiling an image as UI background (about box needed it) Added restart_browser as a helper like Views helper for putting up a request for the user to restart. Added a new string needed for Mac style alerts to go with the existing restart string. Make Mac Chromium use a custom about box. Give Chromium and Google Chrome an about box that matches the one on other platforms Use all the existing UI strings for the about box so we get credits, copy rights, etc. TEST=New aboutbox for Chromium and Google Chrome. About box should be fully l10n and size as needed. Chrome update messaging should more match windows and be localized. BUG=13219, 19020 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=24737

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 18

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+999 lines, -295 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/app/nibs/About.xib View 13 chunks +475 lines, -230 lines 0 comments Download
M chrome/browser/app_controller_mac.mm View 2 chunks +0 lines, -5 lines 0 comments Download
MM chrome/browser/cocoa/about_window_controller.h View 1 2 3 chunks +15 lines, -8 lines 0 comments Download
M chrome/browser/cocoa/about_window_controller.mm View 1 2 5 chunks +304 lines, -45 lines 0 comments Download
M chrome/browser/cocoa/about_window_controller_unittest.mm View 1 1 chunk +5 lines, -6 lines 0 comments Download
A chrome/browser/cocoa/background_tile_view.h View 1 chunk +22 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/background_tile_view.mm View 1 chunk +32 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/background_tile_view_unittest.mm View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/restart_browser.h View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/restart_browser.mm View 1 2 1 chunk +67 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 4 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
TVL
11 years, 3 months ago (2009-08-28 14:11:25 UTC) #1
John Grabowski
LGTM modulo UI dude feedback (if not obtained already) on - modal Restart dialog vs ...
11 years, 3 months ago (2009-08-28 14:46:46 UTC) #2
TVL
http://codereview.chromium.org/173606/diff/2001/2004 File chrome/browser/app_controller_mac.mm (left): http://codereview.chromium.org/173606/diff/2001/2004#oldcode631 Line 631: #if !defined(GOOGLE_CHROME_BUILD) On 2009/08/28 14:46:46, John Grabowski wrote: ...
11 years, 3 months ago (2009-08-28 15:26:38 UTC) #3
John Grabowski
11 years, 3 months ago (2009-08-28 16:39:42 UTC) #4
Still LGTM

Funny thing to note.
Many CLs fix a bug, but the author files a new bug as follow-up.

For this CL, 2 bugs are fixed (13219,19020).
But adds only one (20493).
I am excited that we finally have a CL which DROPS the bug count!

http://codereview.chromium.org/173606/diff/2001/2006
File chrome/browser/cocoa/about_window_controller.mm (right):

http://codereview.chromium.org/173606/diff/2001/2006#newcode37
Line 37: namespace {
On 2009/08/28 15:26:38, TVL wrote:
> On 2009/08/28 14:46:46, John Grabowski wrote:
> > Simple unit tests for the Append... functions?
> 
> Then I have to export them, which is sort the catch22.  :(

One option: In header add
namespace about_box_string_utils {
  // now add functions
}

Powered by Google App Engine
This is Rietveld 408576698