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

Issue 10388141: Full-screen Magnifier: Support warping the cursor on the edge (Closed)

Created:
8 years, 7 months ago by yoshiki
Modified:
8 years, 6 months ago
CC:
chromium-reviews, mazda+watch_chromium.org, sadrul, derat+watch_chromium.org, ben+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Full-screen Magnifier: Support warping the cursor on the edge With this CL, a magnified region will moved when the cursor on the edge. Only on debug build, we can test the this magnifier with "Ctrl + {" and "Ctrl + }" shortcut. These shortcut keys are temporary. These will be removed just after either the shortcuts or setting UI are fixed. BUG=126880 TEST=manual test (even with high-DPI and external display) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=143514

Patch Set 1 #

Total comments: 14

Patch Set 2 : sync & fix reviews #

Patch Set 3 : Make MagnificationController virtual class. #

Total comments: 7

Patch Set 4 : Change behaivior of the magnified region. #

Total comments: 18

Patch Set 5 : Review fix #

Total comments: 26

Patch Set 6 : a #

Patch Set 7 : sync #

Patch Set 8 : Review fix #

Total comments: 16

Patch Set 9 : review fix #

Total comments: 6

Patch Set 10 : review fix #

Total comments: 7

Patch Set 11 : Review fix #

Patch Set 12 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+390 lines, -95 lines) Patch
M ash/accelerators/accelerator_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +28 lines, -0 lines 0 comments Download
M ash/accelerators/accelerator_table.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M ash/accelerators/accelerator_table.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M ash/magnifier/magnification_controller.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +15 lines, -25 lines 0 comments Download
M ash/magnifier/magnification_controller.cc View 1 2 3 4 5 6 7 8 9 2 chunks +340 lines, -69 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 32 (0 generated)
yoshiki
zork: Could you take a look? sky: Could you take a look at ui/aura/* and ...
8 years, 7 months ago (2012-05-15 10:26:36 UTC) #1
sky
Could you describe the effect you're going after? Are you looking to only magnify a ...
8 years, 7 months ago (2012-05-15 15:17:01 UTC) #2
Yoshiki IGUCHI
We'd like to magnify a region under the cursor to full-screen and move the region ...
8 years, 7 months ago (2012-05-16 08:23:35 UTC) #3
sky
I only made it part way through the patch. Based on the patch it looks ...
8 years, 7 months ago (2012-05-16 15:40:47 UTC) #4
yoshiki
Scott, thanks you for looking. You are right. This CL magnifies the whole screen, and ...
8 years, 7 months ago (2012-05-17 17:19:32 UTC) #5
sky
How come we need the magnification layer? Can't we set the transform and what not ...
8 years, 7 months ago (2012-05-17 17:58:31 UTC) #6
sky
I'm adding Antoine as a reviewer in case he has any comments.
8 years, 7 months ago (2012-05-17 17:59:04 UTC) #7
piman
https://chromiumcodereview.appspot.com/10388141/diff/14/ash/magnifier/magnified_cursor.cc File ash/magnifier/magnified_cursor.cc (right): https://chromiumcodereview.appspot.com/10388141/diff/14/ash/magnifier/magnified_cursor.cc#newcode16 ash/magnifier/magnified_cursor.cc:16: : root_window_(root_window) { root_window_ doesn't seem used at all. ...
8 years, 7 months ago (2012-05-18 03:09:49 UTC) #8
Yoshiki IGUCHI
Scott, Sorry for late response. I created a brief document to explain why we can't ...
8 years, 7 months ago (2012-05-26 00:31:37 UTC) #9
sky
What behavior are you hoping to achieve as the user moves the mouse around? Will ...
8 years, 6 months ago (2012-05-29 15:34:02 UTC) #10
yoshiki
Scott: thanks for good advice. I've changed the behavior of the magnified region as you ...
8 years, 6 months ago (2012-06-05 15:43:26 UTC) #11
yoshiki
sky: ping? On 2012/06/05 15:43:26, yoshiki wrote: > Scott: thanks for good advice. I've changed ...
8 years, 6 months ago (2012-06-07 17:04:51 UTC) #12
sky
http://codereview.chromium.org/10388141/diff/27002/ash/accelerators/accelerator_controller.cc File ash/accelerators/accelerator_controller.cc (right): http://codereview.chromium.org/10388141/diff/27002/ash/accelerators/accelerator_controller.cc#newcode177 ash/accelerators/accelerator_controller.cc:177: float scale = (delta_index > 0) ? 1.2f : ...
8 years, 6 months ago (2012-06-07 18:05:50 UTC) #13
sky
Sorry for the delay. I got a bunch of stuff dropped in my lap yesterday. ...
8 years, 6 months ago (2012-06-07 18:06:36 UTC) #14
oshima
http://codereview.chromium.org/10388141/diff/27002/ui/aura/root_window.cc File ui/aura/root_window.cc (right): http://codereview.chromium.org/10388141/diff/27002/ui/aura/root_window.cc#newcode222 ui/aura/root_window.cc:222: gfx::Point3f p3(location_in_dip); On 2012/06/07 18:05:50, sky wrote: > Why ...
8 years, 6 months ago (2012-06-07 18:25:07 UTC) #15
yoshiki
oshima: Thank you for comment and I have some questions inline. http://codereview.chromium.org/10388141/diff/27002/ash/accelerators/accelerator_controller.cc File ash/accelerators/accelerator_controller.cc (right): ...
8 years, 6 months ago (2012-06-08 22:27:45 UTC) #16
sky
http://codereview.chromium.org/10388141/diff/26002/ash/accelerators/accelerator_controller.cc File ash/accelerators/accelerator_controller.cc (right): http://codereview.chromium.org/10388141/diff/26002/ash/accelerators/accelerator_controller.cc#newcode181 ash/accelerators/accelerator_controller.cc:181: // Mafnify the screen Magnify the screen. http://codereview.chromium.org/10388141/diff/26002/ash/accelerators/accelerator_controller.cc#newcode184 ash/accelerators/accelerator_controller.cc:184: ...
8 years, 6 months ago (2012-06-11 16:19:14 UTC) #17
oshima
http://codereview.chromium.org/10388141/diff/27002/ui/aura/root_window.cc File ui/aura/root_window.cc (right): http://codereview.chromium.org/10388141/diff/27002/ui/aura/root_window.cc#newcode223 ui/aura/root_window.cc:223: layer()->transform().TransformPoint(p3); On 2012/06/08 22:27:45, yoshiki wrote: > On 2012/06/07 ...
8 years, 6 months ago (2012-06-11 16:51:18 UTC) #18
oshima
http://codereview.chromium.org/10388141/diff/26002/ash/magnifier/magnification_controller.cc File ash/magnifier/magnification_controller.cc (right): http://codereview.chromium.org/10388141/diff/26002/ash/magnifier/magnification_controller.cc#newcode207 ash/magnifier/magnification_controller.cc:207: gfx::Point mouse = root_window_->last_mouse_location(); please use the mouse event ...
8 years, 6 months ago (2012-06-11 21:48:30 UTC) #19
yoshiki
oshima: Thank you for investigation and I have a question. What kind of coordinate should ...
8 years, 6 months ago (2012-06-13 16:31:12 UTC) #20
oshima
On 2012/06/13 16:31:12, yoshiki wrote: > oshima: Thank you for investigation and I have a ...
8 years, 6 months ago (2012-06-13 17:16:39 UTC) #21
yoshiki
> It's sort of broken now. We should have Window::MoveCursorTo(const gfx::Point& > point_in_local_cord), > instead ...
8 years, 6 months ago (2012-06-14 04:38:14 UTC) #22
yoshiki
sky: PTAL, since the problem Oshima mentioned has been solved and committed at crrev.com/142888. http://codereview.chromium.org/10388141/diff/26002/ash/accelerators/accelerator_controller.cc ...
8 years, 6 months ago (2012-06-19 17:56:15 UTC) #23
sky
http://codereview.chromium.org/10388141/diff/41007/ash/magnifier/magnification_controller.cc File ash/magnifier/magnification_controller.cc (right): http://codereview.chromium.org/10388141/diff/41007/ash/magnifier/magnification_controller.cc#newcode56 ash/magnifier/magnification_controller.cc:56: // changed. should -> Should Also, this doesn't actually ...
8 years, 6 months ago (2012-06-19 19:47:52 UTC) #24
yoshiki
sky: thanks, PTAL. http://codereview.chromium.org/10388141/diff/41007/ash/magnifier/magnification_controller.cc File ash/magnifier/magnification_controller.cc (right): http://codereview.chromium.org/10388141/diff/41007/ash/magnifier/magnification_controller.cc#newcode56 ash/magnifier/magnification_controller.cc:56: // changed. On 2012/06/19 19:47:52, sky ...
8 years, 6 months ago (2012-06-20 00:23:34 UTC) #25
sky
http://codereview.chromium.org/10388141/diff/38009/ash/magnifier/magnification_controller.cc File ash/magnifier/magnification_controller.cc (right): http://codereview.chromium.org/10388141/diff/38009/ash/magnifier/magnification_controller.cc#newcode120 ash/magnifier/magnification_controller.cc:120: Shell::GetInstance()->AddEnvEventFilter(this); Don't you need to remove this in the ...
8 years, 6 months ago (2012-06-20 03:54:16 UTC) #26
yoshiki
sky: PTAL http://codereview.chromium.org/10388141/diff/38009/ash/magnifier/magnification_controller.cc File ash/magnifier/magnification_controller.cc (right): http://codereview.chromium.org/10388141/diff/38009/ash/magnifier/magnification_controller.cc#newcode120 ash/magnifier/magnification_controller.cc:120: Shell::GetInstance()->AddEnvEventFilter(this); Thanks, Done. On 2012/06/20 03:54:16, sky ...
8 years, 6 months ago (2012-06-20 04:23:11 UTC) #27
sky
http://codereview.chromium.org/10388141/diff/32006/ash/magnifier/magnification_controller.h File ash/magnifier/magnification_controller.h (right): http://codereview.chromium.org/10388141/diff/32006/ash/magnifier/magnification_controller.h#newcode25 ash/magnifier/magnification_controller.h:25: static MagnificationController* CreateInstance(); Document caller owns this. http://codereview.chromium.org/10388141/diff/32006/ash/magnifier/magnification_controller.h#newcode27 ash/magnifier/magnification_controller.h:27: ...
8 years, 6 months ago (2012-06-20 13:41:27 UTC) #28
yoshiki
http://codereview.chromium.org/10388141/diff/32006/ash/magnifier/magnification_controller.h File ash/magnifier/magnification_controller.h (right): http://codereview.chromium.org/10388141/diff/32006/ash/magnifier/magnification_controller.h#newcode25 ash/magnifier/magnification_controller.h:25: static MagnificationController* CreateInstance(); On 2012/06/20 13:41:27, sky wrote: > ...
8 years, 6 months ago (2012-06-21 02:40:36 UTC) #29
sky
LGTM http://codereview.chromium.org/10388141/diff/32006/ash/magnifier/magnification_controller.h File ash/magnifier/magnification_controller.h (right): http://codereview.chromium.org/10388141/diff/32006/ash/magnifier/magnification_controller.h#newcode46 ash/magnifier/magnification_controller.h:46: MagnificationController() {} On 2012/06/21 02:40:36, yoshiki wrote: > ...
8 years, 6 months ago (2012-06-21 16:28:06 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/10388141/43001
8 years, 6 months ago (2012-06-21 16:30:19 UTC) #31
commit-bot: I haz the power
8 years, 6 months ago (2012-06-21 16:30:21 UTC) #32
Failed to apply patch for ash/accelerators/accelerator_table.cc:
While running patch -p1 --forward --force;
patching file ash/accelerators/accelerator_table.cc
Hunk #1 FAILED at 114.
1 out of 1 hunk FAILED -- saving rejects to file
ash/accelerators/accelerator_table.cc.rej

Powered by Google App Engine
This is Rietveld 408576698