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

Issue 2303963002: cros/ash: If the partial magnifier is active, do not consume input events if over palette views. (Closed)

Created:
4 years, 3 months ago by jdufault
Modified:
4 years, 3 months ago
Reviewers:
James Cook
CC:
chromium-reviews, kalyank, sadrul, oshima+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cros/ash: If the partial magnifier is active, do not consume input events if over palette views. This allows the user to disable the magnifier and use the palette while the magnifier is active. TEST=ash_unittests BUG=642535 Committed: https://crrev.com/d8d4991f93a15d1d2c388f05e9b93c3a8eb2fa76 Cr-Commit-Position: refs/heads/master@{#417124}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Address comments #

Total comments: 6

Patch Set 3 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -7 lines) Patch
M ash/common/system/chromeos/palette/palette_tray.h View 2 chunks +8 lines, -0 lines 0 comments Download
M ash/common/system/chromeos/palette/palette_tray.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M ash/common/system/chromeos/palette/palette_utils.h View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M ash/common/system/chromeos/palette/palette_utils.cc View 1 2 2 chunks +17 lines, -0 lines 0 comments Download
M ash/magnifier/partial_magnification_controller.cc View 1 4 chunks +26 lines, -7 lines 0 comments Download

Messages

Total messages: 35 (25 generated)
jdufault
jamescook@ PTAL. Thanks! https://codereview.chromium.org/2303963002/diff/1/ash/common/system/chromeos/palette/palette_utils.cc File ash/common/system/chromeos/palette/palette_utils.cc (right): https://codereview.chromium.org/2303963002/diff/1/ash/common/system/chromeos/palette/palette_utils.cc#newcode34 ash/common/system/chromeos/palette/palette_utils.cc:34: for (ash::WmWindow* window : ash::WmShell::Get()->GetAllRootWindows()) { ...
4 years, 3 months ago (2016-09-01 22:31:31 UTC) #5
James Cook
Looks like windows might need some ifdefs https://codereview.chromium.org/2303963002/diff/1/ash/common/system/chromeos/palette/palette_tray.cc File ash/common/system/chromeos/palette/palette_tray.cc (right): https://codereview.chromium.org/2303963002/diff/1/ash/common/system/chromeos/palette/palette_tray.cc#newcode223 ash/common/system/chromeos/palette/palette_tray.cc:223: bool PaletteTray::ContainsPointInScreen(const ...
4 years, 3 months ago (2016-09-01 23:16:02 UTC) #8
James Cook
Oh, the CL description could use a "why", like "this lets you turn off the ...
4 years, 3 months ago (2016-09-01 23:16:37 UTC) #9
jdufault
https://codereview.chromium.org/2303963002/diff/1/ash/common/system/chromeos/palette/palette_tray.cc File ash/common/system/chromeos/palette/palette_tray.cc (right): https://codereview.chromium.org/2303963002/diff/1/ash/common/system/chromeos/palette/palette_tray.cc#newcode223 ash/common/system/chromeos/palette/palette_tray.cc:223: bool PaletteTray::ContainsPointInScreen(const gfx::Point& p) { On 2016/09/01 23:16:02, James ...
4 years, 3 months ago (2016-09-02 20:20:38 UTC) #25
jdufault
https://codereview.chromium.org/2303963002/diff/60001/ash/magnifier/partial_magnification_controller.cc File ash/magnifier/partial_magnification_controller.cc (right): https://codereview.chromium.org/2303963002/diff/60001/ash/magnifier/partial_magnification_controller.cc#newcode64 ash/magnifier/partial_magnification_controller.cc:64: #if defined(OS_CHROMEOS) I'm leaning towards making this entire file ...
4 years, 3 months ago (2016-09-02 20:22:32 UTC) #26
James Cook
LGTM with nits https://codereview.chromium.org/2303963002/diff/60001/ash/common/system/chromeos/palette/palette_tray.cc File ash/common/system/chromeos/palette/palette_tray.cc (right): https://codereview.chromium.org/2303963002/diff/60001/ash/common/system/chromeos/palette/palette_tray.cc#newcode224 ash/common/system/chromeos/palette/palette_tray.cc:224: if (icon_ && icon_->GetBoundsInScreen().Contains(point.x(), point.y())) nit: ...
4 years, 3 months ago (2016-09-06 16:16:32 UTC) #27
jdufault
https://codereview.chromium.org/2303963002/diff/60001/ash/common/system/chromeos/palette/palette_tray.cc File ash/common/system/chromeos/palette/palette_tray.cc (right): https://codereview.chromium.org/2303963002/diff/60001/ash/common/system/chromeos/palette/palette_tray.cc#newcode224 ash/common/system/chromeos/palette/palette_tray.cc:224: if (icon_ && icon_->GetBoundsInScreen().Contains(point.x(), point.y())) On 2016/09/06 16:16:31, James ...
4 years, 3 months ago (2016-09-07 22:39:06 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2303963002/80001
4 years, 3 months ago (2016-09-07 22:39:28 UTC) #31
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 3 months ago (2016-09-08 00:03:23 UTC) #33
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 00:07:18 UTC) #35
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d8d4991f93a15d1d2c388f05e9b93c3a8eb2fa76
Cr-Commit-Position: refs/heads/master@{#417124}

Powered by Google App Engine
This is Rietveld 408576698