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

Issue 333015: o Cleans up canonical extension_install_ui.cc to avoid #ifdefs when feasible.... (Closed)

Created:
11 years, 2 months ago by Andrew Bonventre
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, Erik does not do reviews, pam+watch_chromium.org, John Grabowski, ben+cc_chromium.org
Visibility:
Public.

Description

o Cleans up canonical extension_install_ui.cc to avoid #ifdefs when feasible. o Adds Cocoa implementation of the extension installation prompt. o Added new cross-platform implementations of the extension install error prompt. o Got rid of unused extension install strings from early implementations. o Added a string to display as the header of the error dialog, since it was inline English. Patch by Andrew Bonventre <andybons@gmail.com>; BUG=19654 TEST=Install an extension on any platform, observe consistent visual behavior and messaging. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30091

Patch Set 1 #

Total comments: 19

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Total comments: 3

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -104 lines) Patch
M chrome/app/generated_resources.grd View 1 1 chunk +2 lines, -13 lines 0 comments Download
A chrome/browser/cocoa/extension_install_prompt.mm View 1 1 chunk +50 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_install_ui.h View 1 2 3 3 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_install_ui.cc View 1 8 chunks +17 lines, -89 lines 0 comments Download
M chrome/browser/gtk/extension_install_prompt_gtk.cc View 1 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/views/extensions/extension_install_prompt.cc View 1 3 chunks +16 lines, -1 line 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Andrew Bonventre
Take a look. First attempt :).
11 years, 2 months ago (2009-10-23 22:09:34 UTC) #1
Andrew Bonventre
http://codereview.chromium.org/333015/diff/1/3 File chrome/browser/extensions/extension_install_ui.cc (right): http://codereview.chromium.org/333015/diff/1/3#newcode13 Line 13: #include "base/utf_string_conversions.h" Will remove this in next upload...
11 years, 2 months ago (2009-10-23 22:12:05 UTC) #2
Mark Mentovai
http://codereview.chromium.org/333015/diff/1/8 File chrome/browser/cocoa/extension_install_prompt.mm (right): http://codereview.chromium.org/333015/diff/1/8#newcode5 Line 5: #include <string> Style: C++ library headers after C ...
11 years, 2 months ago (2009-10-23 22:52:22 UTC) #3
Aaron Boodman
lgtm http://codereview.chromium.org/333015/diff/1/2 File chrome/browser/extensions/extension_install_ui.h (right): http://codereview.chromium.org/333015/diff/1/2#newcode66 Line 66: void ShowThemeInfoBar(Extension* new_theme); These two methods could ...
11 years, 2 months ago (2009-10-24 03:00:34 UTC) #4
Aaron Boodman
Actually, for UI stuff, I'm going to start requesting screen caps. Starting now :)
11 years, 2 months ago (2009-10-24 03:01:07 UTC) #5
Mark Mentovai
http://codereview.chromium.org/333015/diff/1/8 File chrome/browser/cocoa/extension_install_prompt.mm (right): http://codereview.chromium.org/333015/diff/1/8#newcode48 Line 48: [alert runModal]; This should give you an OK ...
11 years, 2 months ago (2009-10-24 14:57:03 UTC) #6
Andrew Bonventre
Screenshots: Old: http://andybons.com/chrome/old_extension_install.png New: http://andybons.com/chrome/new_extension_install.png Is there a canonical method for associating arbitrary files to ...
11 years, 2 months ago (2009-10-25 05:45:15 UTC) #7
Mark Mentovai
LGTM http://codereview.chromium.org/333015/diff/5001/5002 File chrome/browser/extensions/extension_install_ui.h (right): http://codereview.chromium.org/333015/diff/5001/5002#newcode69 Line 69: // Returns the delegate to control the ...
11 years, 2 months ago (2009-10-25 19:34:50 UTC) #8
Andrew Bonventre
http://codereview.chromium.org/333015/diff/5001/5002 File chrome/browser/extensions/extension_install_ui.h (right): http://codereview.chromium.org/333015/diff/5001/5002#newcode69 Line 69: // Returns the delegate to control the browser's ...
11 years, 1 month ago (2009-10-26 16:02:41 UTC) #9
Avi (use Gerrit)
Looks good. http://codereview.chromium.org/333015/diff/1005/1006 File chrome/browser/extensions/extension_install_ui.h (right): http://codereview.chromium.org/333015/diff/1005/1006#newcode68 Line 68: no blank line between comment and ...
11 years, 1 month ago (2009-10-26 16:17:19 UTC) #10
Andrew Bonventre
http://codereview.chromium.org/333015/diff/1005/1006 File chrome/browser/extensions/extension_install_ui.h (right): http://codereview.chromium.org/333015/diff/1005/1006#newcode68 Line 68: On 2009/10/26 16:17:19, Avi wrote: > no blank ...
11 years, 1 month ago (2009-10-26 19:15:27 UTC) #11
Mark Mentovai
11 years, 1 month ago (2009-10-26 21:13:30 UTC) #12
r30091 committed

Powered by Google App Engine
This is Rietveld 408576698