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

Issue 2044783002: Prevent display going to sleep while taking a screenshot (Closed)

Created:
4 years, 6 months ago by caseq
Modified:
4 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Prevent display going to sleep while taking a screenshot On MacOS, GrabViewSnapshot() call would block for the duration of display/GPU sleep which leads to protocol client to wait and tests to time out when power saving is engaged. This prevents power saving while there are pending screenshot requests. BUG=599776 Committed: https://crrev.com/2d6574bd49f71c153f24f0e78671fbcb481a2aaa Cr-Commit-Position: refs/heads/master@{#398245}

Patch Set 1 #

Total comments: 1

Patch Set 2 : s/PowerSaveBlockerImpl/PowerSaveBlocker/ #

Total comments: 1

Patch Set 3 : impl -> public #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -0 lines) Patch
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
caseq
4 years, 6 months ago (2016-06-07 03:15:19 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2044783002/1
4 years, 6 months ago (2016-06-07 03:16:04 UTC) #4
Ken Russell (switch to Gerrit)
LGTM. Thanks for tracking this behavior down. It would be ideal to get this in ...
4 years, 6 months ago (2016-06-07 03:23:15 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-07 04:30:57 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2044783002/1
4 years, 6 months ago (2016-06-07 04:32:31 UTC) #9
pfeldman
https://codereview.chromium.org/2044783002/diff/1/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/2044783002/diff/1/content/browser/renderer_host/render_widget_host_impl.cc#newcode1284 content/browser/renderer_host/render_widget_host_impl.cc:1284: power_save_blocker_.reset(static_cast<PowerSaveBlockerImpl*>( Going impl for the sake of content/ policy ...
4 years, 6 months ago (2016-06-07 04:35:29 UTC) #10
caseq
On 2016/06/07 04:35:29, pfeldman wrote: > https://codereview.chromium.org/2044783002/diff/1/content/browser/renderer_host/render_widget_host_impl.cc > File content/browser/renderer_host/render_widget_host_impl.cc (right): > > https://codereview.chromium.org/2044783002/diff/1/content/browser/renderer_host/render_widget_host_impl.cc#newcode1284 > ...
4 years, 6 months ago (2016-06-07 04:44:00 UTC) #12
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/2044783002/diff/20001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/2044783002/diff/20001/content/browser/renderer_host/render_widget_host_impl.cc#newcode85 content/browser/renderer_host/render_widget_host_impl.cc:85: #include "content/browser/power_save_blocker_impl.h" public power_save_blocker.h?
4 years, 6 months ago (2016-06-07 04:46:09 UTC) #13
pfeldman
lgtm % kbr's nit.
4 years, 6 months ago (2016-06-07 04:48:34 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2044783002/40001
4 years, 6 months ago (2016-06-07 05:02:55 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-07 08:08:15 UTC) #18
commit-bot: I haz the power
4 years, 6 months ago (2016-06-07 08:09:39 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2d6574bd49f71c153f24f0e78671fbcb481a2aaa
Cr-Commit-Position: refs/heads/master@{#398245}

Powered by Google App Engine
This is Rietveld 408576698