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

Issue 10201014: Implement High Contrast mode for Chrome OS (Closed)

Created:
8 years, 8 months ago by Zachary Kuznia
Modified:
8 years, 7 months ago
Reviewers:
dmazzoni, James Hawkins, sky
CC:
chromium-reviews, sadrul, jonathan.backer, Ian Vollick, dhollowa+watch_chromium.org, ben+watch_chromium.org, piman+watch_chromium.org, tfarina
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Implement High Contrast mode for Chrome OS. -Add controller to ash for managing the state of High Contrast mode -Add API to shell to allow Chromium to turn the mode on and off -Add the option to the Chromium OS accessibility settings page. -Add functions to layer.cc/h to enable an inversion filter. BUG=chromium-os:30678 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=138212

Patch Set 1 #

Patch Set 2 : Working implementation #

Total comments: 2

Patch Set 3 : Code review fix #

Total comments: 16

Patch Set 4 : Code review fixes #

Total comments: 6

Patch Set 5 : Code review fixes #

Patch Set 6 : Add USE_ASH guards #

Patch Set 7 : Add ASH_EXPORT #

Patch Set 8 : Add missing include #

Patch Set 9 : Remove extra define guard #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -4 lines) Patch
M ash/ash.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A ash/high_contrast/high_contrast_controller.h View 1 2 3 4 5 6 7 1 chunk +36 lines, -0 lines 0 comments Download
A ash/high_contrast/high_contrast_controller.cc View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
M ash/shell.h View 1 2 3 4 3 chunks +7 lines, -0 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main_extra_parts_ash.cc View 1 2 3 4 6 7 8 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_util.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_util.cc View 1 2 3 4 5 3 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/resources/options2/browser_options.html View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/resources/options2/browser_options.js View 1 2 3 4 2 chunks +7 lines, -2 lines 0 comments Download
M ui/compositor/layer.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M ui/compositor/layer.cc View 1 2 3 4 4 chunks +15 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Zachary Kuznia
Hi Dominic, This patch enables High contrast mode for Chrome OS. Please have a look ...
8 years, 7 months ago (2012-05-08 08:31:33 UTC) #1
dmazzoni
lgtm Looks good! At some point I'd like to modify it to do a more ...
8 years, 7 months ago (2012-05-16 04:44:17 UTC) #2
Zachary Kuznia
http://codereview.chromium.org/10201014/diff/1005/ash/high_contrast/high_contrast_controller.h File ash/high_contrast/high_contrast_controller.h (right): http://codereview.chromium.org/10201014/diff/1005/ash/high_contrast/high_contrast_controller.h#newcode29 ash/high_contrast/high_contrast_controller.h:29: int enable_; On 2012/05/16 04:44:17, Dominic Mazzoni wrote: > ...
8 years, 7 months ago (2012-05-16 08:49:28 UTC) #3
Zachary Kuznia
Hello sky, Could you review this at: http://codereview.chromium.org/10201014 Thanks, -Zach
8 years, 7 months ago (2012-05-16 08:50:16 UTC) #4
sky
http://codereview.chromium.org/10201014/diff/5006/ash/high_contrast/high_contrast_controller.h File ash/high_contrast/high_contrast_controller.h (right): http://codereview.chromium.org/10201014/diff/5006/ash/high_contrast/high_contrast_controller.h#newcode22 ash/high_contrast/high_contrast_controller.h:22: virtual ~HighContrastController() {} Does this really need to be ...
8 years, 7 months ago (2012-05-16 21:07:48 UTC) #5
Zachary Kuznia
http://codereview.chromium.org/10201014/diff/5006/ash/high_contrast/high_contrast_controller.h File ash/high_contrast/high_contrast_controller.h (right): http://codereview.chromium.org/10201014/diff/5006/ash/high_contrast/high_contrast_controller.h#newcode22 ash/high_contrast/high_contrast_controller.h:22: virtual ~HighContrastController() {} On 2012/05/16 21:07:48, sky wrote: > ...
8 years, 7 months ago (2012-05-17 08:25:25 UTC) #6
Zachary Kuznia
Hello jhawkins, Could you do an OWNERS review on: chrome/browser/resources/options2/* Thanks, -Zach
8 years, 7 months ago (2012-05-17 08:26:21 UTC) #7
sky
LGTM with the following changes. http://codereview.chromium.org/10201014/diff/11005/ash/shell.cc File ash/shell.cc (right): http://codereview.chromium.org/10201014/diff/11005/ash/shell.cc#newcode750 ash/shell.cc:750: //high_contrast_controller_->SetEnabled(delegate_->IsHighContrastEnabled()); Remove this http://codereview.chromium.org/10201014/diff/11005/chrome/browser/chrome_browser_main_extra_parts_ash.cc ...
8 years, 7 months ago (2012-05-17 15:54:14 UTC) #8
James Hawkins
LGTM with nit. http://codereview.chromium.org/10201014/diff/11005/chrome/browser/resources/options2/browser_options.js File chrome/browser/resources/options2/browser_options.js (right): http://codereview.chromium.org/10201014/diff/11005/chrome/browser/resources/options2/browser_options.js#newcode472 chrome/browser/resources/options2/browser_options.js:472: [$('accessibility-high-contrast-check').checked]); nit: The parameter indentation on ...
8 years, 7 months ago (2012-05-17 16:07:37 UTC) #9
Zachary Kuznia
http://codereview.chromium.org/10201014/diff/11005/ash/shell.cc File ash/shell.cc (right): http://codereview.chromium.org/10201014/diff/11005/ash/shell.cc#newcode750 ash/shell.cc:750: //high_contrast_controller_->SetEnabled(delegate_->IsHighContrastEnabled()); On 2012/05/17 15:54:15, sky wrote: > Remove this ...
8 years, 7 months ago (2012-05-21 05:50:04 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zork@chromium.org/10201014/11010
8 years, 7 months ago (2012-05-21 11:15:31 UTC) #11
commit-bot: I haz the power
Try job failure for 10201014-11010 (retry) on win_rel for steps "base_unittests, sync_unit_tests". It's a second ...
8 years, 7 months ago (2012-05-21 14:00:11 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zork@chromium.org/10201014/11010
8 years, 7 months ago (2012-05-21 14:11:54 UTC) #13
commit-bot: I haz the power
Try job failure for 10201014-11010 on mac_rel for step "update". http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=26587 Step "update" is always ...
8 years, 7 months ago (2012-05-21 14:13:47 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zork@chromium.org/10201014/11010
8 years, 7 months ago (2012-05-21 14:48:20 UTC) #15
commit-bot: I haz the power
Try job failure for 10201014-11010 (retry) on linux_rel for step "browser_tests". It's a second try, ...
8 years, 7 months ago (2012-05-21 15:51:02 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zork@chromium.org/10201014/11010
8 years, 7 months ago (2012-05-21 21:32:17 UTC) #17
commit-bot: I haz the power
Try job failure for 10201014-11010 (retry) on win_rel for step "compile" (clobber build). It's a ...
8 years, 7 months ago (2012-05-21 23:50:55 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zork@chromium.org/10201014/11010
8 years, 7 months ago (2012-05-21 23:56:22 UTC) #19
commit-bot: I haz the power
Try job failure for 10201014-11010 (retry) on win_rel for steps "base_unittests, sync_unit_tests". It's a second ...
8 years, 7 months ago (2012-05-22 02:49:04 UTC) #20
commit-bot: I haz the power
8 years, 7 months ago (2012-05-22 03:58:56 UTC) #21

Powered by Google App Engine
This is Rietveld 408576698