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

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: |BrowserWindow| (gtk and cocoa) will notify when a window is maximized. 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 b5192f7278e4d7db6b81f1a2c2de64bee8add71d..cff6d38397bca85e32a0dd7a71f1a0514cbe76ba 100644
--- a/chrome/browser/automation/testing_automation_provider.h
+++ b/chrome/browser/automation/testing_automation_provider.h
@@ -1095,6 +1095,14 @@ 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.
+ // This method currently is only supported for tabs.
+ // 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