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

Issue 263813002: Take a screenshot in maximize mode when volume down and power are pressed. (Closed)

Created:
6 years, 7 months ago by flackr
Modified:
6 years, 7 months ago
Reviewers:
sadrul, oshima
CC:
chromium-reviews, kalyank, sadrul, ben+ash_chromium.org
Visibility:
Public.

Description

Take a screenshot in maximize mode when volume down and power are pressed. BUG=363732 TEST=MaximizeModeControllerTest.Screenshot TEST=When device is in maximize mode, hold volume down and press power to take a screenshot. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269684

Patch Set 1 : . #

Patch Set 2 : POWER key not defined in windows. #

Total comments: 2

Patch Set 3 : Implement as EventHandler and use AcceleratorController::PerformAction. #

Patch Set 4 : Merge with master and enable unit test by allowing POWER key. #

Patch Set 5 : Add missing files. #

Patch Set 6 : Merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -29 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
A ash/test/test_lock_state_controller_delegate.h View 1 2 3 4 1 chunk +37 lines, -0 lines 0 comments Download
A ash/test/test_lock_state_controller_delegate.cc View 1 2 3 4 1 chunk +27 lines, -0 lines 0 comments Download
M ash/wm/lock_state_controller_unittest.cc View 1 2 2 chunks +1 line, -26 lines 0 comments Download
M ash/wm/maximize_mode/maximize_mode_controller.h View 1 2 3 4 5 2 chunks +9 lines, -2 lines 0 comments Download
M ash/wm/maximize_mode/maximize_mode_controller.cc View 1 2 3 4 5 3 chunks +51 lines, -0 lines 0 comments Download
M ash/wm/maximize_mode/maximize_mode_controller_unittest.cc View 1 2 3 2 chunks +32 lines, -0 lines 0 comments Download
M ash/wm/maximize_mode/maximize_mode_event_blocker.cc View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
flackr
Hey, this takes a screenshot when volume down and power is pressed. Since the screenshot ...
6 years, 7 months ago (2014-05-01 14:45:08 UTC) #1
sadrul
https://codereview.chromium.org/263813002/diff/60001/ash/wm/maximize_mode/maximize_mode_event_blocker.cc File ash/wm/maximize_mode/maximize_mode_event_blocker.cc (right): https://codereview.chromium.org/263813002/diff/60001/ash/wm/maximize_mode/maximize_mode_event_blocker.cc#newcode77 ash/wm/maximize_mode/maximize_mode_event_blocker.cc:77: screenshot_delegate->HandleTakeScreenshotForAllRootWindows(); I suspect this will need to be merged ...
6 years, 7 months ago (2014-05-02 00:59:08 UTC) #2
flackr
I've verified the test will pass when the EventTargeter no longer blocks the events. Please ...
6 years, 7 months ago (2014-05-07 04:08:44 UTC) #3
sadrul
cool! LGTM
6 years, 7 months ago (2014-05-07 13:50:00 UTC) #4
flackr
The CQ bit was checked by flackr@chromium.org
6 years, 7 months ago (2014-05-09 18:41:02 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/263813002/100001
6 years, 7 months ago (2014-05-09 18:44:24 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-09 20:53:29 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-09 20:58:26 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/25145)
6 years, 7 months ago (2014-05-09 20:58:26 UTC) #9
flackr
+oshima for ash/test, moved the test delegate class from lock_state_controller_unittest.cc
6 years, 7 months ago (2014-05-10 02:54:40 UTC) #10
oshima
lgtm
6 years, 7 months ago (2014-05-10 14:59:22 UTC) #11
flackr
The CQ bit was checked by flackr@chromium.org
6 years, 7 months ago (2014-05-10 15:06:59 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/263813002/120001
6 years, 7 months ago (2014-05-10 15:08:31 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-10 15:37:29 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-10 15:42:04 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/67035) ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/150709) ios_rel_device ...
6 years, 7 months ago (2014-05-10 15:42:05 UTC) #16
flackr
The CQ bit was checked by flackr@chromium.org
6 years, 7 months ago (2014-05-10 17:57:06 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/263813002/140001
6 years, 7 months ago (2014-05-10 17:58:11 UTC) #18
commit-bot: I haz the power
6 years, 7 months ago (2014-05-11 01:41:38 UTC) #19
Message was sent while issue was closed.
Change committed as 269684

Powered by Google App Engine
This is Rietveld 408576698