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

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

Issue 10388251: Support maximize window command. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Unit test in chromedriver_tests.py; nicer error reporting - a method to check whether the current v… Created 8 years, 7 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 979e7aa1b9ff8d0dbf20a4c7a6b78c3f8aaa3b23..fe35a22dc1b2ad3afb3b15d5b14c29ca7feb4352 100644
--- a/chrome/browser/automation/testing_automation_provider.h
+++ b/chrome/browser/automation/testing_automation_provider.h
@@ -1095,6 +1095,13 @@ class TestingAutomationProvider : public AutomationProvider,
// output: none
void SetViewBounds(base::DictionaryValue* args, IPC::Message* reply_message);
+ // Maximizes the web view.
+ // The single |auto_id| must be given to specify the view.
kkania 2012/05/24 17:25:38 Mention it only works for tabs
zori 2012/05/29 23:53:32 Done.
+ // Example:
+ // input: { "auto_id": { "type": 0, "id": "awoein" } }
+ // output: none
+ void MaximizeView(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.

Powered by Google App Engine
This is Rietveld 408576698