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

Unified Diff: chrome/browser/automation/testing_automation_provider.h

Issue 5572001: Send screenshots back to the client for debugging (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: update for ken's comments 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/browser/automation/testing_automation_provider.h
diff --git a/chrome/browser/automation/testing_automation_provider.h b/chrome/browser/automation/testing_automation_provider.h
index 762f9c08e43861ac515d07f74afe9247732739d8..185145fa10b04a629dba2d3fe9bdbcaeeaf41171 100644
--- a/chrome/browser/automation/testing_automation_provider.h
+++ b/chrome/browser/automation/testing_automation_provider.h
@@ -862,6 +862,14 @@ class TestingAutomationProvider : public AutomationProvider,
// output: { "title": "Google" }
void GetTabTitleJSON(DictionaryValue* args, IPC::Message* reply_message);
+ // Captures the entire page of the the specified tab, including the
+ // non-visible portions of the page, and saves the PNG to a file.
+ // Example:
+ // input: { "windex": 1, "tab_index": 1, "Path:"file location"}
+ // output: { "success": true }
+ void CaptureEntirePageJSON(
+ DictionaryValue* args, IPC::Message* reply_message);
+
// Gets the cookies for the given URL. Uses the JSON interface.
// Example:
// input: { "windex": 1, "tab_index": 1, "url": "http://www.google.com" }

Powered by Google App Engine
This is Rietveld 408576698