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

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: need to push again to make sure rietveld didn't screw up 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
« no previous file with comments | « chrome/common/automation_messages_internal.h ('k') | chrome/test/automation/automation_json_requests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f1a2025d2aee7e5fb096b2ef2eeb1add7565e41a..acd81b03f87b19648623b1e5161d27cf952a2cdf 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 DictionaryValue;
class ListValue;
@@ -100,6 +101,15 @@ bool SendReloadJSONRequest(
int browser_index,
int tab_index) WARN_UNUSED_RESULT;
+// Requests a snapshot of the entire page to be saved to the given path
+// in 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,
« no previous file with comments | « chrome/common/automation_messages_internal.h ('k') | chrome/test/automation/automation_json_requests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698