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

Issue 13926006: Add ui::GrabDesktopSnapshot for Windows. (Closed)

Created:
7 years, 8 months ago by grt (UTC plus 2)
Modified:
7 years, 8 months ago
Reviewers:
sky
CC:
chromium-reviews
Visibility:
Public.

Description

Add ui::GrabDesktopSnapshot for Windows. GrabWindowSnapshot(NULL) had been used previously to get the desktop, but this doesn't work for Aura builds. BUG=223560 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=196256

Patch Set 1 #

Total comments: 2

Patch Set 2 : GrabDesktopSnapshot is now available only to tests #

Total comments: 5

Patch Set 3 : param ordering #

Patch Set 4 : snapshot_desktop in test directory #

Patch Set 5 : Always include GrabHwndSnapshot #

Total comments: 2

Patch Set 6 : snapshot_test_support now win-only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -17 lines) Patch
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/test/base/ui_test_utils.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M ui/snapshot/snapshot.gyp View 1 2 3 4 5 3 chunks +21 lines, -5 lines 0 comments Download
A ui/snapshot/snapshot_win.h View 1 2 3 4 1 chunk +32 lines, -0 lines 0 comments Download
M ui/snapshot/snapshot_win.cc View 1 2 3 4 4 chunks +25 lines, -10 lines 0 comments Download
A ui/snapshot/test/snapshot_desktop.h View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
A ui/snapshot/test/snapshot_desktop_win.cc View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
grt (UTC plus 2)
7 years, 8 months ago (2013-04-16 19:50:23 UTC) #1
sky
https://codereview.chromium.org/13926006/diff/1/ui/snapshot/snapshot.h File ui/snapshot/snapshot.h (right): https://codereview.chromium.org/13926006/diff/1/ui/snapshot/snapshot.h#newcode34 ui/snapshot/snapshot.h:34: // Grabs a snapshot of the desktop. No security ...
7 years, 8 months ago (2013-04-16 22:06:49 UTC) #2
grt (UTC plus 2)
PTAL, thanks. https://codereview.chromium.org/13926006/diff/1/ui/snapshot/snapshot.h File ui/snapshot/snapshot.h (right): https://codereview.chromium.org/13926006/diff/1/ui/snapshot/snapshot.h#newcode34 ui/snapshot/snapshot.h:34: // Grabs a snapshot of the desktop. ...
7 years, 8 months ago (2013-04-17 16:58:17 UTC) #3
grt (UTC plus 2)
sky: friendly ping
7 years, 8 months ago (2013-04-18 22:58:18 UTC) #4
sky
Sorry, I'm a bit confused now. What exactly are you trying to accomplish? https://codereview.chromium.org/13926006/diff/7007/ui/snapshot/snapshot.gyp File ...
7 years, 8 months ago (2013-04-22 16:25:18 UTC) #5
grt (UTC plus 2)
The goal is to get desktop snapshots working in tests in Aura builds. They previously ...
7 years, 8 months ago (2013-04-22 19:14:03 UTC) #6
sky
Ah, ok. I think a better approach here is: . create snapshot_win.h, it'll have you're ...
7 years, 8 months ago (2013-04-22 23:16:11 UTC) #7
grt (UTC plus 2)
On 2013/04/22 23:16:11, sky wrote: > Ah, ok. I think a better approach here is: ...
7 years, 8 months ago (2013-04-23 01:49:42 UTC) #8
sky
That's fine. On Mon, Apr 22, 2013 at 6:49 PM, <grt@chromium.org> wrote: > On 2013/04/22 ...
7 years, 8 months ago (2013-04-23 14:55:40 UTC) #9
grt (UTC plus 2)
PTAL.
7 years, 8 months ago (2013-04-24 12:21:12 UTC) #10
sky
https://codereview.chromium.org/13926006/diff/29001/ui/snapshot/snapshot.gyp File ui/snapshot/snapshot.gyp (right): https://codereview.chromium.org/13926006/diff/29001/ui/snapshot/snapshot.gyp#newcode80 ui/snapshot/snapshot.gyp:80: 'targets': [ Shouldn't we only include this target on ...
7 years, 8 months ago (2013-04-24 14:49:11 UTC) #11
grt (UTC plus 2)
PTAL. Apologies for the extra noise in chrome_tests_unit.gypi from the rebase. The only pertinent change ...
7 years, 8 months ago (2013-04-24 17:44:47 UTC) #12
sky
LGTM
7 years, 8 months ago (2013-04-24 20:52:21 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grt@chromium.org/13926006/36001
7 years, 8 months ago (2013-04-24 21:02:23 UTC) #14
commit-bot: I haz the power
7 years, 8 months ago (2013-04-24 23:11:34 UTC) #15
Message was sent while issue was closed.
Change committed as 196256

Powered by Google App Engine
This is Rietveld 408576698