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

Issue 5594006: DOMUI Prefs: Add a subpage for startup page management. (Closed)

Created:
10 years ago by stuartmorgan
Modified:
9 years, 7 months ago
Reviewers:
csilv
CC:
chromium-reviews, arv (Not doing code reviews), ben+cc_chromium.org
Visibility:
Public.

Description

DOMUI Prefs: Add a subpage for startup page management. This still uses the old-style controls for adding and removing entries, but it moves them to the sub-page as an incremental step toward the mocks. BUG=63817 TEST=The new Manage Startup Pages button in the Basics section should open a subpage where pages can be added and removed. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=68755

Patch Set 1 #

Patch Set 2 : Removed empty handler methods #

Total comments: 8

Patch Set 3 : Address review comments #

Patch Set 4 : Re-add changes lost during merge to trunk #

Unified diffs Side-by-side diffs Delta from patch set Stats (+221 lines, -57 lines) Patch
M chrome/app/generated_resources.grd View 1 2 2 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/dom_ui/options/browser_options_handler.cc View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/dom_ui/options/options_ui.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
A chrome/browser/dom_ui/options/startup_page_manager_handler.h View 1 2 1 chunk +23 lines, -0 lines 0 comments Download
A chrome/browser/dom_ui/options/startup_page_manager_handler.cc View 1 1 chunk +30 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/browser_options.html View 1 2 2 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/resources/options/browser_options.js View 8 chunks +26 lines, -37 lines 0 comments Download
M chrome/browser/resources/options/browser_options_page.css View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/options/options.html View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/options.js View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/resources/options/options_page.css View 1 2 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/resources/options/startup_page_manager.css View 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/browser/resources/options/startup_page_manager.html View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/browser/resources/options/startup_page_manager.js View 1 2 1 chunk +94 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
stuartmorgan
10 years ago (2010-12-08 00:43:42 UTC) #1
csilv
LGTM http://codereview.chromium.org/5594006/diff/2001/chrome/browser/dom_ui/options/startup_page_manager_handler.h File chrome/browser/dom_ui/options/startup_page_manager_handler.h (right): http://codereview.chromium.org/5594006/diff/2001/chrome/browser/dom_ui/options/startup_page_manager_handler.h#newcode10 chrome/browser/dom_ui/options/startup_page_manager_handler.h:10: class KeywordEditorController; This appears to be unused. http://codereview.chromium.org/5594006/diff/2001/chrome/browser/resources/options/browser_options.html ...
10 years ago (2010-12-08 23:46:12 UTC) #2
stuartmorgan
10 years ago (2010-12-09 19:30:08 UTC) #3
http://codereview.chromium.org/5594006/diff/2001/chrome/browser/dom_ui/option...
File chrome/browser/dom_ui/options/startup_page_manager_handler.h (right):

http://codereview.chromium.org/5594006/diff/2001/chrome/browser/dom_ui/option...
chrome/browser/dom_ui/options/startup_page_manager_handler.h:10: class
KeywordEditorController;
On 2010/12/08 23:46:12, csilv wrote:
> This appears to be unused.

Done.

http://codereview.chromium.org/5594006/diff/2001/chrome/browser/resources/opt...
File chrome/browser/resources/options/browser_options.html (right):

http://codereview.chromium.org/5594006/diff/2001/chrome/browser/resources/opt...
chrome/browser/resources/options/browser_options.html:1: <div class="page
hidden" id="browserPage">
On 2010/12/08 23:46:12, csilv wrote:
> Since you're in this file, can you swap the order of the class/id attributes? 
> Trying to always show id first for consistency.

Done.

http://codereview.chromium.org/5594006/diff/2001/chrome/browser/resources/opt...
File chrome/browser/resources/options/startup_page_manager.html (right):

http://codereview.chromium.org/5594006/diff/2001/chrome/browser/resources/opt...
chrome/browser/resources/options/startup_page_manager.html:1: <div class="page
hidden" id="startupPageManagerPage">
On 2010/12/08 23:46:12, csilv wrote:
> switch order of id/class tags.

Done.

http://codereview.chromium.org/5594006/diff/2001/chrome/browser/resources/opt...
File chrome/browser/resources/options/startup_page_manager.js (right):

http://codereview.chromium.org/5594006/diff/2001/chrome/browser/resources/opt...
chrome/browser/resources/options/startup_page_manager.js:55: * @private
On 2010/12/08 23:46:12, csilv wrote:
> nit, move @private line to bottom of comment block.  not explicitly listed in
> guideline, but follows the pattern.

Done.

Powered by Google App Engine
This is Rietveld 408576698