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

Issue 1909873002: Allow taking screen shot of a non child window which has delegate to paint. (Closed)

Created:
4 years, 8 months ago by oshima
Modified:
4 years, 7 months ago
Reviewers:
Qiang(Joe) Xu
CC:
chromium-reviews, kalyank, sadrul, yusukes+watch_chromium.org, derat+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow taking screen shot of a non child window which has delegate to paint. * Rename PartialScreenshotController to ScreenshotController * It selects active window by default and hitting return takes the screenshot. This keeps the existing functionality to take screenshot w/o mouse * The selected window is indicated by the half opaque gray area. It is shown on top of all windows so that a user can see how big the window is. BUG=481059 TEST=covered by unit tests. Also tested on device. Committed: https://crrev.com/5a296e8ea8a87a8506273f74225562b975f7b42c Cr-Commit-Position: refs/heads/master@{#390559}

Patch Set 1 : #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+710 lines, -753 lines) Patch
M ash/accelerators/accelerator_controller.cc View 1 4 chunks +9 lines, -13 lines 0 comments Download
M ash/accelerators/accelerator_controller_unittest.cc View 1 1 chunk +0 lines, -11 lines 0 comments Download
M ash/accelerators/accelerator_table.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/accelerators/accelerator_table.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M ash/ash.gyp View 1 2 chunks +3 lines, -3 lines 0 comments Download
M ash/shell.h View 1 4 chunks +4 lines, -4 lines 0 comments Download
M ash/shell.cc View 1 3 chunks +5 lines, -5 lines 0 comments Download
M ash/test/test_screenshot_delegate.h View 2 chunks +3 lines, -5 lines 0 comments Download
M ash/test/test_screenshot_delegate.cc View 2 chunks +9 lines, -3 lines 0 comments Download
D ash/utility/partial_screenshot_controller.h View 1 1 chunk +0 lines, -88 lines 0 comments Download
D ash/utility/partial_screenshot_controller.cc View 1 1 chunk +0 lines, -293 lines 0 comments Download
D ash/utility/partial_screenshot_controller_unittest.cc View 1 chunk +0 lines, -272 lines 0 comments Download
A + ash/utility/screenshot_controller.h View 1 5 chunks +39 lines, -17 lines 0 comments Download
A ash/utility/screenshot_controller.cc View 1 1 chunk +457 lines, -0 lines 0 comments Download
A + ash/utility/screenshot_controller_unittest.cc View 8 chunks +175 lines, -33 lines 0 comments Download

Messages

Total messages: 48 (33 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1909873002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1909873002/40001
4 years, 8 months ago (2016-04-23 00:47:05 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/190177) linux_chromium_chromeos_ozone_rel_ng on ...
4 years, 8 months ago (2016-04-23 01:06:49 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1909873002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1909873002/120001
4 years, 8 months ago (2016-04-23 01:34:39 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/159592)
4 years, 8 months ago (2016-04-23 02:16:58 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1909873002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1909873002/240001
4 years, 8 months ago (2016-04-26 22:00:52 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-26 22:43:24 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1909873002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1909873002/260001
4 years, 8 months ago (2016-04-27 01:19:31 UTC) #26
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_x86-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_x86-generic_chromium_compile_only_ng/builds/128284)
4 years, 8 months ago (2016-04-27 01:24:55 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1909873002/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1909873002/280001
4 years, 7 months ago (2016-04-27 17:01:04 UTC) #30
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-27 17:52:37 UTC) #32
oshima
4 years, 7 months ago (2016-04-27 18:16:36 UTC) #39
Qiang(Joe) Xu
On 2016/04/27 18:16:36, oshima wrote: lgtm
4 years, 7 months ago (2016-04-27 18:38:07 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1909873002/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1909873002/300001
4 years, 7 months ago (2016-04-29 00:34:52 UTC) #43
commit-bot: I haz the power
Committed patchset #2 (id:300001)
4 years, 7 months ago (2016-04-29 01:32:44 UTC) #45
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:23:21 UTC) #46
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5a296e8ea8a87a8506273f74225562b975f7b42c
Cr-Commit-Position: refs/heads/master@{#390559}

Powered by Google App Engine
This is Rietveld 408576698