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

Unified Diff: content/shell/renderer/test_runner/test_runner.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/test_runner.h
diff --git a/content/shell/renderer/test_runner/test_runner.h b/content/shell/renderer/test_runner/test_runner.h
index dfd045ce154789c88e3785ce87bb65636ba30938..a4f430de30eb6a2ca9ed6174c83d0012e184c3ff 100644
--- a/content/shell/renderer/test_runner/test_runner.h
+++ b/content/shell/renderer/test_runner/test_runner.h
@@ -543,6 +543,8 @@ class TestRunner : public WebTestRunner,
// uint8 RGBA format.
void CapturePixelsAsyncThen(v8::Handle<v8::Function> callback);
+ void CopyAtAndCapturePixelsAsyncThen(int x, int y, const v8::Handle<v8::Function> callback);
Ken Russell (switch to Gerrit) 2014/07/16 20:40:50 Please document this. "Similar to CapturePixelsAsy
hj.r.chung 2014/07/17 05:33:40 Done. Thanks for writing the description!
+
void SetMockPushClientSuccess(const std::string& endpoint,
const std::string& registration_id);
void SetMockPushClientError(const std::string& message);
« no previous file with comments | « no previous file | content/shell/renderer/test_runner/test_runner.cc » ('j') | content/shell/renderer/test_runner/test_runner.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698