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

Unified Diff: chrome/browser/automation/testing_automation_provider.h

Issue 9288051: Implement the webdriver window sizing commands. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 8 years, 11 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 5b252422221081dd7e21f5e2f28e4c313ecad382..7bd498256e5a7c650ff65836acaa21370ba376f9 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 web view bounds.
+ // 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.
« no previous file with comments | « chrome/browser/automation/automation_provider_json.cc ('k') | chrome/browser/automation/testing_automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698