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

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: 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/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..d16a78c129131c5cfe6709bbb0847df10a753627 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"}
kkania 2011/03/22 21:08:56 fix the comment (it is missing a quote and should
Joe 2011/03/22 22:08:19 Done.
+ // output: none
+ 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