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 5b252422221081dd7e21f5e2f28e4c313ecad382..c7c910ef3ba02f581bcd9c574d200706602df3a5 100644 |
| --- a/chrome/browser/automation/testing_automation_provider.h |
| +++ b/chrome/browser/automation/testing_automation_provider.h |
| @@ -1095,6 +1095,21 @@ class TestingAutomationProvider : public AutomationProvider, |
| // output: none |
| void CloseTabJSON(base::DictionaryValue* args, IPC::Message* reply_message); |
| + // Sets the specified view bounds. |
|
dennis_jeffrey
2012/01/27 16:23:29
Is it clear what "view" we're talking about here?
kkania
2012/01/27 22:48:31
i suppose it would be more clear by adding web to
|
| + // The single |auto_id| must be given to specify the view. |
| + // This method currently is only supported for tabs. |
| + // Example: |
| + // input: { "auto_id": { "type": 0, "id": "awoein" }, |
| + // "bounds": { |
| + // "x": 100, |
| + // "y": 200, |
| + // "width": 500, |
| + // "height": 800 |
| + // } |
| + // } |
| + // output: none |
| + void SetViewBounds(base::DictionaryValue* args, IPC::Message* reply_message); |
| + |
| // Sends the WebKit events for a mouse click at a given coordinate. |
| // The pair |windex| and |tab_index| or the single |auto_id| must be given |
| // to specify the render view. |