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

Unified Diff: chrome/test/automation/automation_json_requests.h

Issue 5572001: Send screenshots back to the client for debugging (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: added tests which compare against a reference md5 hash Created 9 years, 9 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: chrome/test/automation/automation_json_requests.h
diff --git a/chrome/test/automation/automation_json_requests.h b/chrome/test/automation/automation_json_requests.h
index 99f9c08d38fc3cad99eb2e0e3b47233a07c6ec3d..dd80e20d4fd6af007f87613f74e13964ed853135 100644
--- a/chrome/test/automation/automation_json_requests.h
+++ b/chrome/test/automation/automation_json_requests.h
@@ -14,6 +14,7 @@
#include "ui/base/keycodes/keyboard_codes.h"
class AutomationMessageSender;
+class FilePath;
class GURL;
class Value;
@@ -98,6 +99,14 @@ bool SendReloadJSONRequest(
int browser_index,
int tab_index) WARN_UNUSED_RESULT;
+// Requests a string containing the raw bytes of the entire tab view in
+// PNG format.
kkania 2011/03/17 18:35:11 Add Returns true on success.
Joe 2011/03/18 00:33:32 Done.
+bool SendCaptureEntirePageJSONRequest(
+ AutomationMessageSender* sender,
+ int browser_index,
+ int tab_index,
+ const FilePath& path) WARN_UNUSED_RESULT;
+
// Requests the url of the specified tab. Returns true on success.
bool SendGetTabURLJSONRequest(
AutomationMessageSender* sender,

Powered by Google App Engine
This is Rietveld 408576698