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

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: 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/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..a1635c8e3785665bf1d8e0dc922bd5e4973e56e5 100644
--- a/chrome/browser/automation/testing_automation_provider.h
+++ b/chrome/browser/automation/testing_automation_provider.h
@@ -862,6 +862,13 @@ class TestingAutomationProvider : public AutomationProvider,
// output: { "title": "Google" }
void GetTabTitleJSON(DictionaryValue* args, IPC::Message* reply_message);
+ // Get the current tab view as a PNG file in raw binary format.
kkania 2011/03/17 18:35:11 change comment to // Captures the entire page of
Joe 2011/03/18 00:33:32 Done.
+ // Example:
+ // input: { "windex": 1, "tab_index": 1 }
kkania 2011/03/17 18:35:11 you function takes more inputs than this. Add them
Joe 2011/03/18 00:33:32 Done.
+ // output: none
kkania 2011/03/17 18:35:11 the output is the dictionary you write in PageSnap
Joe 2011/03/18 00:33:32 Done.
+ 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