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

Unified Diff: ui/snapshot/snapshot_async.h

Issue 2650903003: Revert of [devtools] Support different encodings for Page.CaptureScreenshot. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/snapshot/snapshot_android.cc ('k') | ui/snapshot/snapshot_async.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/snapshot/snapshot_async.h
diff --git a/ui/snapshot/snapshot_async.h b/ui/snapshot/snapshot_async.h
index 79928e0ac2e305772ae161b98691af58daa7a820..364f76c26d9fb88d9bf89aee28062e917f0207d8 100644
--- a/ui/snapshot/snapshot_async.h
+++ b/ui/snapshot/snapshot_async.h
@@ -31,8 +31,9 @@
scoped_refptr<base::TaskRunner> background_task_runner,
std::unique_ptr<cc::CopyOutputResult> result);
- static void RunCallbackWithCopyOutputResult(
- const GrabWindowSnapshotAsyncCallback& callback,
+ static void EncodeCopyOutputResult(
+ const GrabWindowSnapshotAsyncPNGCallback& callback,
+ scoped_refptr<base::TaskRunner> background_task_runner,
std::unique_ptr<cc::CopyOutputResult> result);
private:
« no previous file with comments | « ui/snapshot/snapshot_android.cc ('k') | ui/snapshot/snapshot_async.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698