| 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 c44429e8b7ed06b229a8daf6ca6352666c3bec48..c40244f7ead6b7c41aff8b4af0fc93e463a895a0 100644
|
| --- a/chrome/browser/automation/testing_automation_provider.h
|
| +++ b/chrome/browser/automation/testing_automation_provider.h
|
| @@ -358,11 +358,6 @@ class TestingAutomationProvider : public AutomationProvider,
|
| // Returns the number of blocked popups in the tab |handle|.
|
| void GetBlockedPopupCount(int handle, int* count);
|
|
|
| - // Captures the entire page for the given tab and saves it as PNG at the
|
| - // given path.
|
| - void CaptureEntirePageAsPNG(int tab_handle, const FilePath& path,
|
| - IPC::Message* reply_message);
|
| -
|
| // Generic pattern for pyautolib
|
| // Uses the JSON interface for input/output.
|
| void SendJSONRequest(int handle,
|
| @@ -862,6 +857,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":"/tmp/foo.png"}
|
| + // output: none
|
| + void CaptureEntirePageJSON(
|
| + DictionaryValue* args, IPC::Message* reply_message);
|
| +
|
| // Gets the cookies for the given URL. Uses the JSON interface.
|
| // "expiry" refers to the amount of seconds since the Unix epoch. If omitted,
|
| // the cookie is valid for the duration of the browser session.
|
|
|