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

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: changed PageSnapshotTaker to use JSON interface 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..481c2a5993b94a3584c2d83994a682f2a91e6de0 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
kkania 2011/03/22 21:08:56 Requests a snapshot of the entire page to be saved
Joe 2011/03/22 22:08:19 Done.
+// PNG format. Returns true on success.
+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