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

Issue 102483006: Getting rid of GetDefaultProfile & fixing multi user issues with accessibility (Closed)

Created:
7 years ago by Mr4D (OOO till 08-26)
Modified:
7 years ago
CC:
chromium-reviews, dtseng+watch_chromium.org, sadrul, nkostylev+watch_chromium.org, plundblad+watch_chromium.org, extensions-reviews_chromium.org, aboxhall+watch_chromium.org, yoshiki+watch_chromium.org, yuzo+watch_chromium.org, ben+ash_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, kalyank, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, dmazzoni+watch_chromium.org
Visibility:
Public.

Description

Getting rid of GetDefaultProfile & fixing multi user issues with accessibility As discussed: I removed the occurances, switched the accessibility functionality with a user change and made sure that the accessibility menu is presented when at least one user has one accessibility feature turned on. Not done: - ChromeVox - this will most likely only partially work in multi user scenarios. It makes no sense to get this 80% working if we are in the midst of overhauling the use of ChromeVox. This needs to be re-visited once the changes are done. - BrailleDisplayAPI - Since this is coupled with ChromeVox I guess that this falls into the same problem. - MagnifierManager - A refactor should be done which merges this into the AccessibilityManager, but that would go beyond what we currently have to do. Besides I have found a comment which indicates that this might even be underway. BUG=322682 TEST=unit tests (and multi profile by visual tests) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=241010

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed #

Total comments: 10

Patch Set 3 : Addressed #

Total comments: 2

Patch Set 4 : Addressed & rebased #

Total comments: 1

Patch Set 5 : Fixed unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -26 lines) Patch
M ash/accessibility_delegate.h View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M ash/ash.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ash/default_accessibility_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/default_accessibility_delegate.cc View 1 chunk +6 lines, -2 lines 0 comments Download
M ash/session_state_observer.h View 1 2 3 2 chunks +14 lines, -0 lines 0 comments Download
A ash/session_state_observer.cc View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
M ash/system/tray_accessibility.cc View 1 2 3 4 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_manager.h View 1 2 3 5 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_manager.cc View 1 2 3 5 chunks +34 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_manager_browsertest.cc View 2 chunks +41 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/accessibility/magnification_manager.cc View 1 2 3 5 chunks +15 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/braille_display_private/braille_display_private_api.cc View 1 chunk +7 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc View 1 2 1 chunk +4 lines, -8 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate_views.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 27 (0 generated)
Mr4D (OOO till 08-26)
Please have a look!
7 years ago (2013-12-12 19:28:32 UTC) #1
Peter Lundblad
https://codereview.chromium.org/102483006/diff/1/chrome/browser/chromeos/accessibility/accessibility_manager.cc File chrome/browser/chromeos/accessibility/accessibility_manager.cc (right): https://codereview.chromium.org/102483006/diff/1/chrome/browser/chromeos/accessibility/accessibility_manager.cc#newcode318 chrome/browser/chromeos/accessibility/accessibility_manager.cc:318: // The details are a chromeos::User object. Misplaced comment? ...
7 years ago (2013-12-12 20:53:00 UTC) #2
Mr4D (OOO till 08-26)
Please have another look! (Added oshima for owners review) https://codereview.chromium.org/102483006/diff/1/chrome/browser/chromeos/accessibility/accessibility_manager.cc File chrome/browser/chromeos/accessibility/accessibility_manager.cc (right): https://codereview.chromium.org/102483006/diff/1/chrome/browser/chromeos/accessibility/accessibility_manager.cc#newcode318 chrome/browser/chromeos/accessibility/accessibility_manager.cc:318: ...
7 years ago (2013-12-12 21:01:30 UTC) #3
dmazzoni
lgtm with a few suggestions https://codereview.chromium.org/102483006/diff/20001/ash/accessibility_delegate.h File ash/accessibility_delegate.h (right): https://codereview.chromium.org/102483006/diff/20001/ash/accessibility_delegate.h#newcode66 ash/accessibility_delegate.h:66: // Returns true if ...
7 years ago (2013-12-13 16:15:06 UTC) #4
Mr4D (OOO till 08-26)
Addressed! Many thanks! Oshima - could you please do then the owners review? https://codereview.chromium.org/102483006/diff/20001/ash/accessibility_delegate.h File ...
7 years ago (2013-12-13 17:21:12 UTC) #5
dmazzoni
lgtm https://codereview.chromium.org/102483006/diff/40001/chrome/browser/chromeos/accessibility/accessibility_manager.h File chrome/browser/chromeos/accessibility/accessibility_manager.h (right): https://codereview.chromium.org/102483006/diff/40001/chrome/browser/chromeos/accessibility/accessibility_manager.h#newcode41 chrome/browser/chromeos/accessibility/accessibility_manager.h:41: class ScopedSessionStateObserver { Could you move this to ...
7 years ago (2013-12-13 17:30:06 UTC) #6
Mr4D (OOO till 08-26)
Addressed. https://codereview.chromium.org/102483006/diff/40001/chrome/browser/chromeos/accessibility/accessibility_manager.h File chrome/browser/chromeos/accessibility/accessibility_manager.h (right): https://codereview.chromium.org/102483006/diff/40001/chrome/browser/chromeos/accessibility/accessibility_manager.h#newcode41 chrome/browser/chromeos/accessibility/accessibility_manager.h:41: class ScopedSessionStateObserver { On 2013/12/13 17:30:07, Dominic Mazzoni ...
7 years ago (2013-12-13 17:58:32 UTC) #7
Mr4D (OOO till 08-26)
Side note: Not quite sure why all try bots are failing (since I can rebase ...
7 years ago (2013-12-13 18:41:22 UTC) #8
oshima
https://codereview.chromium.org/102483006/diff/60001/ash/session_state_observer.h File ash/session_state_observer.h (right): https://codereview.chromium.org/102483006/diff/60001/ash/session_state_observer.h#newcode38 ash/session_state_observer.h:38: }; is it possible to use base/scoped_observer.h ?
7 years ago (2013-12-13 22:40:26 UTC) #9
oshima
On 2013/12/13 22:40:26, oshima wrote: > https://codereview.chromium.org/102483006/diff/60001/ash/session_state_observer.h > File ash/session_state_observer.h (right): > > https://codereview.chromium.org/102483006/diff/60001/ash/session_state_observer.h#newcode38 > ...
7 years ago (2013-12-13 23:20:38 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/102483006/60001
7 years ago (2013-12-13 23:31:45 UTC) #11
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=184444
7 years ago (2013-12-14 02:41:14 UTC) #12
LaciLeialoha
7 years ago (2013-12-14 02:45:55 UTC) #13
LaciLeialoha
7 years ago (2013-12-14 02:45:57 UTC) #14
LaciLeialoha
7 years ago (2013-12-14 02:46:00 UTC) #15
LaciLeialoha
7 years ago (2013-12-14 02:46:03 UTC) #16
LaciLeialoha
7 years ago (2013-12-14 02:46:04 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/102483006/60001
7 years ago (2013-12-14 03:02:05 UTC) #18
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=184579
7 years ago (2013-12-14 06:59:13 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/102483006/80001
7 years ago (2013-12-14 19:01:20 UTC) #20
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=204238
7 years ago (2013-12-14 20:03:19 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/102483006/80001
7 years ago (2013-12-14 20:13:10 UTC) #22
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=204261
7 years ago (2013-12-14 21:50:51 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/102483006/80001
7 years ago (2013-12-16 15:33:31 UTC) #24
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=185056
7 years ago (2013-12-16 18:11:00 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/102483006/80001
7 years ago (2013-12-16 18:28:05 UTC) #26
commit-bot: I haz the power
7 years ago (2013-12-16 20:36:04 UTC) #27
Message was sent while issue was closed.
Change committed as 241010

Powered by Google App Engine
This is Rietveld 408576698