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

Issue 3046025: Implement most of the startup page controls in DOMUI prefs (Closed)

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

Description

Implement most of the startup page controls in DOMUI prefs Hooks up display of startup pages, removal of pages, and setting the startup pages to the currently open tabs. Uses a select for now, but will eventually be replaced with a List so the favicons can be displayed. BUG=48713 TEST=Startup pages can be viewed, removed, and set to current in DOMUI prefs. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=53849

Patch Set 1 #

Patch Set 2 : Whitespace fixes #

Patch Set 3 : Add missing comment #

Total comments: 9

Patch Set 4 : Addresses review comments #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -19 lines) Patch
M chrome/browser/custom_home_pages_table_model.cc View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/dom_ui/browser_options_handler.h View 1 2 3 4 chunks +31 lines, -1 line 2 comments Download
M chrome/browser/dom_ui/browser_options_handler.cc View 1 3 chunks +97 lines, -8 lines 3 comments Download
M chrome/browser/resources/options/browser_options.html View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/options/browser_options.js View 1 2 3 4 chunks +64 lines, -7 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
stuartmorgan
10 years, 5 months ago (2010-07-26 23:20:44 UTC) #1
arv (Not doing code reviews)
http://codereview.chromium.org/3046025/diff/4001/5001 File chrome/browser/custom_home_pages_table_model.cc (right): http://codereview.chromium.org/3046025/diff/4001/5001#newcode89 chrome/browser/custom_home_pages_table_model.cc:89: !StartsWithASCII(url.spec(), "chrome://options", false)) We have constants for these in ...
10 years, 5 months ago (2010-07-27 16:42:51 UTC) #2
stuartmorgan
http://codereview.chromium.org/3046025/diff/4001/5001 File chrome/browser/custom_home_pages_table_model.cc (right): http://codereview.chromium.org/3046025/diff/4001/5001#newcode89 chrome/browser/custom_home_pages_table_model.cc:89: !StartsWithASCII(url.spec(), "chrome://options", false)) On 2010/07/27 16:42:51, arv wrote: > ...
10 years, 5 months ago (2010-07-27 17:55:53 UTC) #3
zel
http://codereview.chromium.org/3046025/diff/11001/12002 File chrome/browser/dom_ui/browser_options_handler.cc (right): http://codereview.chromium.org/3046025/diff/11001/12002#newcode230 chrome/browser/dom_ui/browser_options_handler.cc:230: startup_custom_pages_table_model_->SetObserver(this); Where do you unregister this observer? Should this ...
10 years, 5 months ago (2010-07-27 18:05:05 UTC) #4
stuartmorgan
http://codereview.chromium.org/3046025/diff/11001/12002 File chrome/browser/dom_ui/browser_options_handler.cc (right): http://codereview.chromium.org/3046025/diff/11001/12002#newcode230 chrome/browser/dom_ui/browser_options_handler.cc:230: startup_custom_pages_table_model_->SetObserver(this); On 2010/07/27 18:05:05, zel wrote: > Where do ...
10 years, 5 months ago (2010-07-27 18:18:25 UTC) #5
zel
LGTM http://codereview.chromium.org/3046025/diff/11001/12002 File chrome/browser/dom_ui/browser_options_handler.cc (right): http://codereview.chromium.org/3046025/diff/11001/12002#newcode230 chrome/browser/dom_ui/browser_options_handler.cc:230: startup_custom_pages_table_model_->SetObserver(this); On 2010/07/27 18:18:26, stuartmorgan wrote: > On ...
10 years, 5 months ago (2010-07-27 18:20:44 UTC) #6
arv (Not doing code reviews)
LGTM http://codereview.chromium.org/3046025/diff/4001/5002 File chrome/browser/dom_ui/browser_options_handler.cc (right): http://codereview.chromium.org/3046025/diff/4001/5002#newcode238 chrome/browser/dom_ui/browser_options_handler.cc:238: // TODO(stuartmorgan): Add support for showing favicons. On ...
10 years, 5 months ago (2010-07-27 19:02:31 UTC) #7
stuartmorgan
10 years, 5 months ago (2010-07-27 20:07:23 UTC) #8
http://codereview.chromium.org/3046025/diff/11001/12003
File chrome/browser/dom_ui/browser_options_handler.h (right):

http://codereview.chromium.org/3046025/diff/11001/12003#newcode7
chrome/browser/dom_ui/browser_options_handler.h:7: #pragma once
On 2010/07/27 19:02:31, arv wrote:
> Can you do this in a separate patch?

I'm not doing that; you're looking at the diff between snapshots, rather than
the patch, and trunk has changed.

Powered by Google App Engine
This is Rietveld 408576698