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

Issue 6034005: DOMUI: Implement the new-style Autofill options page. (Closed)

Created:
10 years ago by James Hawkins
Modified:
9 years, 7 months ago
CC:
chromium-reviews, pam+watch_chromium.org, Ilya Sherman, arv (Not doing code reviews), James Hawkins, dhollowa
Visibility:
Public.

Description

DOMUI: Implement the new-style Autofill options page. BUG=59281 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69989

Patch Set 1 #

Patch Set 2 : Rebase. #

Total comments: 10

Patch Set 3 : Review fixes. #

Total comments: 24

Patch Set 4 : Review fixes 2. #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+366 lines, -380 lines) Patch
M chrome/app/generated_resources.grd View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/dom_ui/options/autofill_options_handler.h View 1 2 3 2 chunks +32 lines, -27 lines 0 comments Download
M chrome/browser/dom_ui/options/autofill_options_handler.cc View 1 2 3 8 chunks +88 lines, -110 lines 0 comments Download
M chrome/browser/dom_ui/options/personal_options_handler.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/autofill_edit_address_overlay.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/options/autofill_edit_creditcard_overlay.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/options/autofill_options.css View 1 2 3 1 chunk +7 lines, -11 lines 0 comments Download
M chrome/browser/resources/options/autofill_options.html View 1 2 3 1 chunk +13 lines, -29 lines 0 comments Download
M chrome/browser/resources/options/autofill_options.js View 4 chunks +94 lines, -177 lines 0 comments Download
A chrome/browser/resources/options/autofill_options_list.js View 1 2 3 1 chunk +93 lines, -0 lines 4 comments Download
M chrome/browser/resources/options/content_settings.html View 1 7 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/resources/options/options.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/options/options_page.css View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/password_manager.css View 1 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/resources/options/password_manager.html View 1 2 3 1 chunk +4 lines, -10 lines 0 comments Download
M chrome/browser/resources/shared/js/cr/ui/list.js View 1 2 3 2 chunks +15 lines, -0 lines 2 comments Download

Messages

Total messages: 12 (0 generated)
James Hawkins
10 years ago (2010-12-22 01:19:49 UTC) #1
James Hawkins
http://codereview.chromium.org/6034005/diff/3001/chrome/browser/dom_ui/options/autofill_options_handler.cc File chrome/browser/dom_ui/options/autofill_options_handler.cc (right): http://codereview.chromium.org/6034005/diff/3001/chrome/browser/dom_ui/options/autofill_options_handler.cc#newcode45 chrome/browser/dom_ui/options/autofill_options_handler.cc:45: localized_strings->SetString("editButton", Not used, remove. http://codereview.chromium.org/6034005/diff/3001/chrome/browser/dom_ui/options/autofill_options_handler.cc#newcode47 chrome/browser/dom_ui/options/autofill_options_handler.cc:47: localized_strings->SetString("deleteButton", Not used, ...
10 years ago (2010-12-22 01:39:40 UTC) #2
James Hawkins
http://codereview.chromium.org/6034005/diff/3001/chrome/browser/dom_ui/options/autofill_options_handler.cc File chrome/browser/dom_ui/options/autofill_options_handler.cc (right): http://codereview.chromium.org/6034005/diff/3001/chrome/browser/dom_ui/options/autofill_options_handler.cc#newcode45 chrome/browser/dom_ui/options/autofill_options_handler.cc:45: localized_strings->SetString("editButton", On 2010/12/22 01:39:40, James Hawkins wrote: > Not ...
10 years ago (2010-12-22 02:23:53 UTC) #3
arv (Not doing code reviews)
http://codereview.chromium.org/6034005/diff/8001/chrome/browser/dom_ui/options/autofill_options_handler.cc File chrome/browser/dom_ui/options/autofill_options_handler.cc (right): http://codereview.chromium.org/6034005/diff/8001/chrome/browser/dom_ui/options/autofill_options_handler.cc#newcode191 chrome/browser/dom_ui/options/autofill_options_handler.cc:191: if (personal_data_->GetProfileByGUID(guid) != NULL) I find this confusing (and ...
10 years ago (2010-12-22 18:14:07 UTC) #4
csilv
http://codereview.chromium.org/6034005/diff/8001/chrome/browser/dom_ui/options/autofill_options_handler.h File chrome/browser/dom_ui/options/autofill_options_handler.h (right): http://codereview.chromium.org/6034005/diff/8001/chrome/browser/dom_ui/options/autofill_options_handler.h#newcode39 chrome/browser/dom_ui/options/autofill_options_handler.h:39: // Removes either an address or a credit card, ...
10 years ago (2010-12-22 20:03:06 UTC) #5
James Hawkins
http://codereview.chromium.org/6034005/diff/8001/chrome/browser/dom_ui/options/autofill_options_handler.cc File chrome/browser/dom_ui/options/autofill_options_handler.cc (right): http://codereview.chromium.org/6034005/diff/8001/chrome/browser/dom_ui/options/autofill_options_handler.cc#newcode191 chrome/browser/dom_ui/options/autofill_options_handler.cc:191: if (personal_data_->GetProfileByGUID(guid) != NULL) On 2010/12/22 18:14:07, arv wrote: ...
10 years ago (2010-12-22 21:22:30 UTC) #6
csilv
LGTM
10 years ago (2010-12-22 21:29:13 UTC) #7
James Hawkins
Erik, I'm assuming you're ok with the general design of this CL, and I can ...
10 years ago (2010-12-22 22:11:55 UTC) #8
arv (Not doing code reviews)
http://codereview.chromium.org/6034005/diff/20001/chrome/browser/resources/options/autofill_options_list.js File chrome/browser/resources/options/autofill_options_list.js (right): http://codereview.chromium.org/6034005/diff/20001/chrome/browser/resources/options/autofill_options_list.js#newcode44 chrome/browser/resources/options/autofill_options_list.js:44: get guid() { No need for getter and setters ...
10 years ago (2010-12-22 23:00:35 UTC) #9
James Hawkins
The changes are in http://codereview.chromium.org/6083006 http://codereview.chromium.org/6034005/diff/20001/chrome/browser/resources/options/autofill_options_list.js File chrome/browser/resources/options/autofill_options_list.js (right): http://codereview.chromium.org/6034005/diff/20001/chrome/browser/resources/options/autofill_options_list.js#newcode44 chrome/browser/resources/options/autofill_options_list.js:44: get guid() { On ...
10 years ago (2010-12-22 23:13:08 UTC) #10
Evan Stade
http://codereview.chromium.org/6034005/diff/20001/chrome/browser/resources/shared/js/cr/ui/list.js File chrome/browser/resources/shared/js/cr/ui/list.js (right): http://codereview.chromium.org/6034005/diff/20001/chrome/browser/resources/shared/js/cr/ui/list.js#newcode304 chrome/browser/resources/shared/js/cr/ui/list.js:304: this.activateItemAtIndex(index); this is causing js errors in lists that ...
9 years, 11 months ago (2011-01-12 00:46:12 UTC) #11
James Hawkins
9 years, 11 months ago (2011-01-12 00:54:03 UTC) #12
http://codereview.chromium.org/6034005/diff/20001/chrome/browser/resources/sh...
File chrome/browser/resources/shared/js/cr/ui/list.js (right):

http://codereview.chromium.org/6034005/diff/20001/chrome/browser/resources/sh...
chrome/browser/resources/shared/js/cr/ui/list.js:304:
this.activateItemAtIndex(index);
On 2011/01/12 00:46:12, Evan Stade wrote:
> this is causing js errors in lists that don't implement the function. We might
> add a stub in List, but currently only Autofill lists use this, and AFAIK
other
> list implementations don't need it. Can we just move it to the autofill list
> class?

I guess I forgot to stub it out; I'll add the stub.

Powered by Google App Engine
This is Rietveld 408576698