Chromium Code Reviews| 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" } |