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

Issue 10908061: Clean up copy-and-pasted code in prefs UI classes (Closed)

Created:
8 years, 3 months ago by bartfab (slow)
Modified:
8 years, 3 months ago
Reviewers:
James Hawkins
CC:
chromium-reviews, Ilya Sherman, MAD, arv (Not doing code reviews), pam+watch_chromium.org, jar (doing other things)
Visibility:
Public.

Description

Clean up copy-and-pasted code in prefs UI classes This CL makes all prefs UI classes inherit from a common ancestor, consolidating previously copy-and-pasted code. As an additional cleanup, support for checkboxes controlling a non-Boolean pref is retired as no such checkboxes exist in Chrome's code. BUG=104955 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154793

Patch Set 1 #

Total comments: 4

Patch Set 2 : Nit addressed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+205 lines, -464 lines) Patch
M chrome/browser/resources/options/font_settings.js View 4 chunks +11 lines, -11 lines 0 comments Download
M chrome/browser/resources/options/pref_ui.js View 1 12 chunks +193 lines, -449 lines 0 comments Download
M chrome/tools/extract_actions.py View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
bartfab (slow)
Hi James, Here is the final CL of my prefs clean-up effort. This one addresses ...
8 years, 3 months ago (2012-09-03 16:14:28 UTC) #1
James Hawkins
LGTM with some thoughts. https://chromiumcodereview.appspot.com/10908061/diff/1/chrome/browser/resources/options/pref_ui.js File chrome/browser/resources/options/pref_ui.js (right): https://chromiumcodereview.appspot.com/10908061/diff/1/chrome/browser/resources/options/pref_ui.js#newcode119 chrome/browser/resources/options/pref_ui.js:119: * classes that support multiple ...
8 years, 3 months ago (2012-09-04 14:22:20 UTC) #2
bartfab (slow)
https://chromiumcodereview.appspot.com/10908061/diff/1/chrome/browser/resources/options/pref_ui.js File chrome/browser/resources/options/pref_ui.js (right): https://chromiumcodereview.appspot.com/10908061/diff/1/chrome/browser/resources/options/pref_ui.js#newcode119 chrome/browser/resources/options/pref_ui.js:119: * classes that support multiple different data types. Done. ...
8 years, 3 months ago (2012-09-04 15:03:29 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/10908061/6001
8 years, 3 months ago (2012-09-04 15:05:36 UTC) #4
commit-bot: I haz the power
8 years, 3 months ago (2012-09-04 19:24:48 UTC) #5
Change committed as 154793

Powered by Google App Engine
This is Rietveld 408576698