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

Side by Side Diff: chrome/browser/automation/testing_automation_provider.h

Issue 10236003: Added RefreshPolicies to PolicyService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 1342 matching lines...) Expand 10 before | Expand all | Expand 10 after
1353 // "button": automation::kLeftButton, 1353 // "button": automation::kLeftButton,
1354 // "x": 100, 1354 // "x": 100,
1355 // "y": 200, 1355 // "y": 200,
1356 // "click_count": 1, 1356 // "click_count": 1,
1357 // "modifiers": automation::kShiftKeyMask, 1357 // "modifiers": automation::kShiftKeyMask,
1358 // } 1358 // }
1359 // output: none 1359 // output: none
1360 void ProcessWebMouseEvent(base::DictionaryValue* args, 1360 void ProcessWebMouseEvent(base::DictionaryValue* args,
1361 IPC::Message* message); 1361 IPC::Message* message);
1362 1362
1363 // Method used as a Task that sends a success AutomationJSONReply.
1364 void SendSuccessReply(IPC::Message* reply_message);
1365
1366 // Gets the active JavaScript modal dialog's message. 1363 // Gets the active JavaScript modal dialog's message.
1367 // Example: 1364 // Example:
1368 // input: none 1365 // input: none
1369 // output: { "message": "This is an alert!" } 1366 // output: { "message": "This is an alert!" }
1370 void GetAppModalDialogMessage( 1367 void GetAppModalDialogMessage(
1371 base::DictionaryValue* args, IPC::Message* reply_message); 1368 base::DictionaryValue* args, IPC::Message* reply_message);
1372 1369
1373 // Accepts or dismisses the active JavaScript modal dialog. If optional 1370 // Accepts or dismisses the active JavaScript modal dialog. If optional
1374 // prompt text is given, it will be used as the result of the prompt dialog. 1371 // prompt text is given, it will be used as the result of the prompt dialog.
1375 // Example: 1372 // Example:
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
1606 ImportSettingsData import_settings_data_; 1603 ImportSettingsData import_settings_data_;
1607 1604
1608 // The automation event observer queue. It is lazily created when an observer 1605 // The automation event observer queue. It is lazily created when an observer
1609 // is added to avoid overhead when not needed. 1606 // is added to avoid overhead when not needed.
1610 scoped_ptr<AutomationEventQueue> automation_event_queue_; 1607 scoped_ptr<AutomationEventQueue> automation_event_queue_;
1611 1608
1612 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); 1609 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider);
1613 }; 1610 };
1614 1611
1615 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 1612 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698