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

Unified Diff: content/shell/renderer/test_runner/web_test_proxy.h

Issue 396953002: Add testRunner.copyAtAndCapturePixelsAsyncThen() method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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
Index: content/shell/renderer/test_runner/web_test_proxy.h
diff --git a/content/shell/renderer/test_runner/web_test_proxy.h b/content/shell/renderer/test_runner/web_test_proxy.h
index f4c7f7062f692a2fe9149decff2cc19b76f2658c..5f061425113f66bf4cfff878e7b6ded639018478 100644
--- a/content/shell/renderer/test_runner/web_test_proxy.h
+++ b/content/shell/renderer/test_runner/web_test_proxy.h
@@ -116,6 +116,8 @@ class WebTestProxyBase : public blink::WebCompositeAndReadbackAsyncCallback {
std::string CaptureTree(bool debug_render_tree);
void CapturePixelsForPrinting(
const base::Callback<void(const SkBitmap&)>& callback);
+ void CopyAtAndCapturePixels(const int x, const int y,
Ken Russell (switch to Gerrit) 2014/07/16 20:40:50 Please name this CopyImageAtAndCapturePixels.
hj.r.chung 2014/07/17 05:33:40 Done.
+ const base::Callback<void(const SkBitmap&)>& callback);
void CapturePixelsAsync(
const base::Callback<void(const SkBitmap&)>& callback);

Powered by Google App Engine
This is Rietveld 408576698