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

Issue 790413002: Focus following for the non-editable controls on web page in magnifier mode. (Closed)

Created:
6 years ago by jennyz
Modified:
6 years ago
Reviewers:
oshima, dmazzoni, sadrul, dcheng, jam
CC:
aboxhall+watch_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, davemoore+watch_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, kalyank, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, nkostylev+watch_chromium.org, oshima+watch_chromium.org, plundblad+watch_chromium.org, sadrul, stevenjb+watch_chromium.org, yuzo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Focus following for the non-editable controls on web page in magnifier mode. BUG=426233 Committed: https://crrev.com/399d6e66077c98e0a8cdf81c7bf7a027fd325d6e Cr-Commit-Position: refs/heads/master@{#308494}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix a nit. #

Total comments: 35

Patch Set 3 : Address code review comments. #

Patch Set 4 : A little code optimization. #

Total comments: 2

Patch Set 5 : Move FocusedNodeDetails to a better place. #

Total comments: 4

Patch Set 6 : Fix nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+366 lines, -35 lines) Patch
M ash/magnifier/magnification_controller.h View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M ash/magnifier/magnification_controller.cc View 1 2 3 4 5 10 chunks +86 lines, -24 lines 0 comments Download
A chrome/browser/chromeos/accessibility/magnification_controller_browsertest.cc View 1 2 3 4 5 1 chunk +194 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/accessibility/magnification_manager.cc View 1 2 3 4 6 chunks +26 lines, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 3 chunks +16 lines, -5 lines 0 comments Download
M content/common/view_messages.h View 1 chunk +5 lines, -3 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A content/public/browser/focused_node_details.h View 1 2 3 4 1 chunk +19 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 34 (7 generated)
jennyz
6 years ago (2014-12-11 00:54:51 UTC) #2
jennyz
sadrul: please help review render_view_xx related files. Need owner's approval, thanks!
6 years ago (2014-12-11 18:47:17 UTC) #5
dmazzoni
Awesome. I think it should work, but it might be a good idea to make ...
6 years ago (2014-12-11 18:51:36 UTC) #6
jennyz
Thanks for your suggestion. I tried with some iframe examples, looks like it works fine ...
6 years ago (2014-12-11 19:00:47 UTC) #7
oshima
looks like it doesn't follow the caret movement. Are we going to support that scenario? ...
6 years ago (2014-12-11 19:08:59 UTC) #8
jennyz
On 2014/12/11 19:08:59, oshima wrote: > looks like it doesn't follow the caret movement. Are ...
6 years ago (2014-12-11 20:35:39 UTC) #9
jennyz
I have uploaded a new patch, but I could not publish the message on codereview, ...
6 years ago (2014-12-11 21:36:03 UTC) #10
oshima
https://codereview.chromium.org/790413002/diff/20001/ash/magnifier/magnification_controller.cc File ash/magnifier/magnification_controller.cc (right): https://codereview.chromium.org/790413002/diff/20001/ash/magnifier/magnification_controller.cc#newcode172 ash/magnifier/magnification_controller.cc:172: // Moves the view port to follow |rect|, if ...
6 years ago (2014-12-12 00:48:45 UTC) #11
jennyz
https://codereview.chromium.org/790413002/diff/1/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/790413002/diff/1/content/browser/renderer_host/render_view_host_impl.cc#newcode1227 content/browser/renderer_host/render_view_host_impl.cc:1227: const gfx::Rect& node_bounds) { On 2014/12/11 19:08:58, oshima wrote: ...
6 years ago (2014-12-12 16:11:19 UTC) #12
sadrul
https://codereview.chromium.org/790413002/diff/20001/ash/magnifier/magnification_controller.h File ash/magnifier/magnification_controller.h (right): https://codereview.chromium.org/790413002/diff/20001/ash/magnifier/magnification_controller.h#newcode61 ash/magnifier/magnification_controller.h:61: // non-editable controls. I think you should remove the ...
6 years ago (2014-12-12 17:13:49 UTC) #13
jennyz
https://codereview.chromium.org/790413002/diff/20001/ash/magnifier/magnification_controller.cc File ash/magnifier/magnification_controller.cc (right): https://codereview.chromium.org/790413002/diff/20001/ash/magnifier/magnification_controller.cc#newcode172 ash/magnifier/magnification_controller.cc:172: // Moves the view port to follow |rect|, if ...
6 years ago (2014-12-12 23:14:45 UTC) #14
oshima
https://codereview.chromium.org/790413002/diff/20001/ash/magnifier/magnification_controller.cc File ash/magnifier/magnification_controller.cc (right): https://codereview.chromium.org/790413002/diff/20001/ash/magnifier/magnification_controller.cc#newcode694 ash/magnifier/magnification_controller.cc:694: x_diff = rect_center.x() - window_center.x(); ok, so x can ...
6 years ago (2014-12-12 23:23:43 UTC) #15
jennyz
6 years ago (2014-12-12 23:40:47 UTC) #16
jennyz
6 years ago (2014-12-13 00:08:45 UTC) #17
jennyz
https://codereview.chromium.org/790413002/diff/20001/ash/magnifier/magnification_controller.cc File ash/magnifier/magnification_controller.cc (right): https://codereview.chromium.org/790413002/diff/20001/ash/magnifier/magnification_controller.cc#newcode694 ash/magnifier/magnification_controller.cc:694: x_diff = rect_center.x() - window_center.x(); On 2014/12/12 23:23:43, oshima ...
6 years ago (2014-12-13 00:09:30 UTC) #18
oshima
my bits lg now but I'll review again once you get approval from sadrul.
6 years ago (2014-12-13 00:54:25 UTC) #19
sadrul
Should there be test coverage in ash_unittests for the changes in ash/? (I see the ...
6 years ago (2014-12-15 18:37:17 UTC) #20
jennyz
Please review files under content. Sadrul has done some review, and he suggested not using ...
6 years ago (2014-12-15 20:59:12 UTC) #22
jam
I just looked at this. While we want to get rid of notificationservice, given that ...
6 years ago (2014-12-15 22:15:22 UTC) #23
jennyz
https://codereview.chromium.org/790413002/diff/20001/chrome/browser/chromeos/accessibility/magnification_manager.cc File chrome/browser/chromeos/accessibility/magnification_manager.cc (right): https://codereview.chromium.org/790413002/diff/20001/chrome/browser/chromeos/accessibility/magnification_manager.cc#newcode228 chrome/browser/chromeos/accessibility/magnification_manager.cc:228: } On 2014/12/15 18:37:16, sadrul wrote: > On 2014/12/12 ...
6 years ago (2014-12-15 23:24:55 UTC) #25
jennyz
dcheng@, would you please take a look at: content/common/view_messages.h Need owners approval, thanks!
6 years ago (2014-12-15 23:28:49 UTC) #27
oshima
ash lgtm
6 years ago (2014-12-15 23:30:44 UTC) #28
dcheng
lgtm with some nits https://codereview.chromium.org/790413002/diff/100001/ash/magnifier/magnification_controller.cc File ash/magnifier/magnification_controller.cc (right): https://codereview.chromium.org/790413002/diff/100001/ash/magnifier/magnification_controller.cc#newcode175 ash/magnifier/magnification_controller.cc:175: void MoveMaginifierWindowFollowRect(const gfx::Rect& rect); MoveMagnifierWindowFollowRect. ...
6 years ago (2014-12-15 23:43:29 UTC) #29
jennyz
https://codereview.chromium.org/790413002/diff/100001/ash/magnifier/magnification_controller.cc File ash/magnifier/magnification_controller.cc (right): https://codereview.chromium.org/790413002/diff/100001/ash/magnifier/magnification_controller.cc#newcode175 ash/magnifier/magnification_controller.cc:175: void MoveMaginifierWindowFollowRect(const gfx::Rect& rect); On 2014/12/15 23:43:29, dcheng wrote: ...
6 years ago (2014-12-16 00:08:57 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/790413002/120001
6 years ago (2014-12-16 00:10:17 UTC) #32
commit-bot: I haz the power
Committed patchset #6 (id:120001)
6 years ago (2014-12-16 01:40:20 UTC) #33
commit-bot: I haz the power
6 years ago (2014-12-16 01:41:14 UTC) #34
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/399d6e66077c98e0a8cdf81c7bf7a027fd325d6e
Cr-Commit-Position: refs/heads/master@{#308494}

Powered by Google App Engine
This is Rietveld 408576698