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

Issue 2795693005: Taking screenshot of current focused window. (Closed)

Created:
3 years, 8 months ago by Muyuan
Modified:
3 years, 8 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, oshima+watch_chromium.org, yusukes+watch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, victorhsieh+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Taking screenshot of current focused window. BUG=704684 BUG=b:35643583 TEST=screenshot sent to voice interaction session in ARC. Review-Url: https://codereview.chromium.org/2795693005 Cr-Commit-Position: refs/heads/master@{#461950} Committed: https://chromium.googlesource.com/chromium/src/+/bac4a9787174ce5e4bb7c4dded78f60550d667ba

Patch Set 1 #

Total comments: 4

Patch Set 2 : address review comment #

Total comments: 10

Patch Set 3 : address review comments #

Total comments: 4

Patch Set 4 : check null for screenshot data #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -4 lines) Patch
M chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc View 1 2 3 2 chunks +34 lines, -4 lines 0 comments Download

Messages

Total messages: 28 (14 generated)
Luis Héctor Chávez
https://codereview.chromium.org/2795693005/diff/1/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc File chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc (right): https://codereview.chromium.org/2795693005/diff/1/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc#newcode36 chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc:36: std::vector<uint8_t> result(png_data->front(), Do you need to check if |png_data->front()| ...
3 years, 8 months ago (2017-04-04 15:55:00 UTC) #3
xiyuan
https://codereview.chromium.org/2795693005/diff/1/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc File chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc (right): https://codereview.chromium.org/2795693005/diff/1/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc#newcode104 chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc:104: window, window->bounds(), window->bounds() is not correct here. This should ...
3 years, 8 months ago (2017-04-04 16:08:13 UTC) #4
Muyuan
https://codereview.chromium.org/2795693005/diff/1/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc File chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc (right): https://codereview.chromium.org/2795693005/diff/1/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc#newcode36 chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc:36: std::vector<uint8_t> result(png_data->front(), On 2017/04/04 15:54:59, Luis Héctor Chávez wrote: ...
3 years, 8 months ago (2017-04-04 18:51:17 UTC) #6
xiyuan
https://codereview.chromium.org/2795693005/diff/20001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc File chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc (right): https://codereview.chromium.org/2795693005/diff/20001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc#newcode19 chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc:19: #include "chrome/browser/ui/tabs/tab_strip_model.h" nit: Are the includes in line 16-19 ...
3 years, 8 months ago (2017-04-04 19:36:12 UTC) #10
dcheng
mojo security review lgtm, but two thoughts https://codereview.chromium.org/2795693005/diff/20001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc File chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc (right): https://codereview.chromium.org/2795693005/diff/20001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc#newcode41 chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc:41: png_data->front() + ...
3 years, 8 months ago (2017-04-04 20:17:42 UTC) #11
Muyuan
https://codereview.chromium.org/2795693005/diff/20001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc File chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc (right): https://codereview.chromium.org/2795693005/diff/20001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc#newcode19 chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc:19: #include "chrome/browser/ui/tabs/tab_strip_model.h" On 2017/04/04 19:36:12, xiyuan wrote: > nit: ...
3 years, 8 months ago (2017-04-04 20:39:42 UTC) #12
Luis Héctor Chávez
https://codereview.chromium.org/2795693005/diff/40001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc File chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc (right): https://codereview.chromium.org/2795693005/diff/40001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc#newcode33 chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc:33: if (png_data->size() == 0) { Maybe mention that |png_data->front()| ...
3 years, 8 months ago (2017-04-04 20:44:56 UTC) #13
xiyuan
lgtm
3 years, 8 months ago (2017-04-04 21:20:59 UTC) #14
Muyuan
https://codereview.chromium.org/2795693005/diff/40001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc File chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc (right): https://codereview.chromium.org/2795693005/diff/40001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc#newcode33 chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc:33: if (png_data->size() == 0) { On 2017/04/04 20:44:56, Luis ...
3 years, 8 months ago (2017-04-04 23:01:13 UTC) #15
Luis Héctor Chávez
https://codereview.chromium.org/2795693005/diff/40001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc File chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc (right): https://codereview.chromium.org/2795693005/diff/40001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc#newcode33 chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc:33: if (png_data->size() == 0) { On 2017/04/04 23:01:13, Muyuan ...
3 years, 8 months ago (2017-04-04 23:17:00 UTC) #16
Muyuan
https://codereview.chromium.org/2795693005/diff/40001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc File chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc (right): https://codereview.chromium.org/2795693005/diff/40001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc#newcode33 chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc:33: if (png_data->size() == 0) { On 2017/04/04 23:17:00, Luis ...
3 years, 8 months ago (2017-04-04 23:21:07 UTC) #17
Luis Héctor Chávez
lgtm thanks!
3 years, 8 months ago (2017-04-05 02:32:28 UTC) #22
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/2795693005/60001
3 years, 8 months ago (2017-04-05 02:34:22 UTC) #25
commit-bot: I haz the power
3 years, 8 months ago (2017-04-05 02:43:59 UTC) #28
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/bac4a9787174ce5e4bb7c4dded78...

Powered by Google App Engine
This is Rietveld 408576698