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

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: for review, still need to add a few more tests 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 02dfda2fc7e942649b30c1477f3615f735b94920..d6d2e67a3f65cc8aa0af879f2a3255e9cd052a48 100644
--- a/chrome/browser/automation/testing_automation_provider.h
+++ b/chrome/browser/automation/testing_automation_provider.h
@@ -862,6 +862,11 @@ 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.
+ // Example: // input: { "windex": 1, "tab_index": 1 }
kkania 2011/03/16 18:19:10 format this like the one above
Joe 2011/03/17 00:15:25 Done.
+ // output: { "png": raw binary data as a string }
kkania 2011/03/16 18:19:10 the output does not have a 'png' key. The output r
Joe 2011/03/17 00:15:25 Done.
+ void GetScreenShotJSON(DictionaryValue* args, IPC::Message* reply_message);
kkania 2011/03/16 18:19:10 it's not really a screenshot, it is the entire pag
Joe 2011/03/17 00:15:25 Done.
+
// 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