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

Issue 6303003: DOMUI Prefs: Implement inline editability for startup pages (Closed)

Created:
9 years, 11 months ago by stuartmorgan
Modified:
9 years, 7 months ago
CC:
chromium-reviews, arv (Not doing code reviews)
Visibility:
Public.

Description

DOMUI Prefs: Implement inline editability for startup pages Also moves more common code into InlineEditableItem, and fixes some styling issues with inline-editable lists. BUG=63817 TEST=Startup pages should be editable in DOMUI prefs. Also, the lead selection in an editable list should show top and bottom borders. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71464

Patch Set 1 #

Patch Set 2 : Typo fix #

Total comments: 8

Patch Set 3 : Address review comments #

Total comments: 4

Patch Set 4 : CSS tweak #

Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -116 lines) Patch
M chrome/browser/custom_home_pages_table_model.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/dom_ui/options/browser_options_handler.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/dom_ui/options/browser_options_handler.cc View 1 2 5 chunks +27 lines, -4 lines 0 comments Download
M chrome/browser/resources/options/browser_options.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/options/browser_options.js View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/options/browser_options_page.css View 1 2 3 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/browser_options_startup_page_list.js View 1 2 3 chunks +42 lines, -6 lines 0 comments Download
M chrome/browser/resources/options/content_settings.css View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/resources/options/inline_editable_list.js View 1 2 4 chunks +77 lines, -4 lines 0 comments Download
M chrome/browser/resources/options/options_page.css View 4 chunks +27 lines, -5 lines 0 comments Download
M chrome/browser/resources/options/search_engine_manager.css View 1 chunk +0 lines, -19 lines 0 comments Download
M chrome/browser/resources/options/search_engine_manager_engine_list.js View 1 2 6 chunks +32 lines, -68 lines 0 comments Download
M chrome/browser/resources/options/startup_page_manager.html View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/resources/options/startup_page_manager.js View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
stuartmorgan
9 years, 11 months ago (2011-01-13 22:51:56 UTC) #1
Evan Stade
looks ok to me http://codereview.chromium.org/6303003/diff/2001/chrome/browser/dom_ui/options/browser_options_handler.cc File chrome/browser/dom_ui/options/browser_options_handler.cc (right): http://codereview.chromium.org/6303003/diff/2001/chrome/browser/dom_ui/options/browser_options_handler.cc#newcode368 chrome/browser/dom_ui/options/browser_options_handler.cc:368: NOTREACHED(); imo these should be ...
9 years, 11 months ago (2011-01-13 23:12:46 UTC) #2
stuartmorgan
http://codereview.chromium.org/6303003/diff/2001/chrome/browser/dom_ui/options/browser_options_handler.cc File chrome/browser/dom_ui/options/browser_options_handler.cc (right): http://codereview.chromium.org/6303003/diff/2001/chrome/browser/dom_ui/options/browser_options_handler.cc#newcode368 chrome/browser/dom_ui/options/browser_options_handler.cc:368: NOTREACHED(); On 2011/01/13 23:12:46, Evan Stade wrote: > imo ...
9 years, 11 months ago (2011-01-13 23:35:37 UTC) #3
arv (Not doing code reviews)
LGTM http://codereview.chromium.org/6303003/diff/8001/chrome/browser/resources/options/browser_options_page.css File chrome/browser/resources/options/browser_options_page.css (right): http://codereview.chromium.org/6303003/diff/8001/chrome/browser/resources/options/browser_options_page.css#newcode13 chrome/browser/resources/options/browser_options_page.css:13: color: #666666; Use #666 }:-) http://codereview.chromium.org/6303003/diff/8001/chrome/browser/resources/options/inline_editable_list.js File chrome/browser/resources/options/inline_editable_list.js ...
9 years, 11 months ago (2011-01-14 00:23:02 UTC) #4
stuartmorgan
9 years, 11 months ago (2011-01-14 00:37:09 UTC) #5
http://codereview.chromium.org/6303003/diff/8001/chrome/browser/resources/opt...
File chrome/browser/resources/options/browser_options_page.css (right):

http://codereview.chromium.org/6303003/diff/8001/chrome/browser/resources/opt...
chrome/browser/resources/options/browser_options_page.css:13: color: #666666;
On 2011/01/14 00:23:03, arv wrote:
> Use #666 }:-)

Done.

http://codereview.chromium.org/6303003/diff/8001/chrome/browser/resources/opt...
File chrome/browser/resources/options/inline_editable_list.js (right):

http://codereview.chromium.org/6303003/diff/8001/chrome/browser/resources/opt...
chrome/browser/resources/options/inline_editable_list.js:156:
createEditableTextCell: function(text, opt_alwaysEditable) {
On 2011/01/14 00:23:03, arv wrote:
> I wish we could just use contentEditable but then we lose validation... which
> might be worth it.

Most of our validation is done with callbacks to native code, and we'll be using
custom UI, so we don't really benefit much from using the HTML5 validation
stuff. I think this is definitely worth exploring post-M10.

Powered by Google App Engine
This is Rietveld 408576698