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

Side by Side 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: "Since the python bindings are to a newer version now, update chromedriver_tests.py accordingly." Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after
1087 // "bounds": { 1087 // "bounds": {
1088 // "x": 100, 1088 // "x": 100,
1089 // "y": 200, 1089 // "y": 200,
1090 // "width": 500, 1090 // "width": 500,
1091 // "height": 800 1091 // "height": 800
1092 // } 1092 // }
1093 // } 1093 // }
1094 // output: none 1094 // output: none
1095 void SetViewBounds(base::DictionaryValue* args, IPC::Message* reply_message); 1095 void SetViewBounds(base::DictionaryValue* args, IPC::Message* reply_message);
1096 1096
1097 // Maximizes the web view.
1098 // The single |auto_id| must be given to specify the view.
1099 // This method currently is only supported for tabs.
1100 // Example:
1101 // input: { "auto_id": { "type": 0, "id": "awoein" } }
1102 // output: none
1103 void MaximizeView(base::DictionaryValue* args, IPC::Message* reply_message);
1104
1097 // Sends the WebKit events for a mouse click at a given coordinate. 1105 // Sends the WebKit events for a mouse click at a given coordinate.
1098 // The pair |windex| and |tab_index| or the single |auto_id| must be given 1106 // The pair |windex| and |tab_index| or the single |auto_id| must be given
1099 // to specify the render view. 1107 // to specify the render view.
1100 // Example: 1108 // Example:
1101 // input: { "windex": 1, 1109 // input: { "windex": 1,
1102 // "tab_index": 1, 1110 // "tab_index": 1,
1103 // "auto_id": { "type": 0, "id": "awoein" }, 1111 // "auto_id": { "type": 0, "id": "awoein" },
1104 // "button": automation::kLeftButton, 1112 // "button": automation::kLeftButton,
1105 // "x": 100, 1113 // "x": 100,
1106 // "y": 100 1114 // "y": 100
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
1555 ImportSettingsData import_settings_data_; 1563 ImportSettingsData import_settings_data_;
1556 1564
1557 // The automation event observer queue. It is lazily created when an observer 1565 // The automation event observer queue. It is lazily created when an observer
1558 // is added to avoid overhead when not needed. 1566 // is added to avoid overhead when not needed.
1559 scoped_ptr<AutomationEventQueue> automation_event_queue_; 1567 scoped_ptr<AutomationEventQueue> automation_event_queue_;
1560 1568
1561 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); 1569 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider);
1562 }; 1570 };
1563 1571
1564 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 1572 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider_observers.cc ('k') | chrome/browser/automation/testing_automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698