OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // This implements a browser-side endpoint for UI automation activity. | 5 // This implements a browser-side endpoint for UI automation activity. |
6 // The client-side endpoint is implemented by AutomationProxy. | 6 // The client-side endpoint is implemented by AutomationProxy. |
7 // The entire lifetime of this object should be contained within that of | 7 // The entire lifetime of this object should be contained within that of |
8 // the BrowserProcess, and in particular the NotificationService that's | 8 // the BrowserProcess, and in particular the NotificationService that's |
9 // hung off of it. | 9 // hung off of it. |
10 | 10 |
11 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ | 11 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ |
12 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ | 12 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ |
13 #pragma once | 13 #pragma once |
14 | 14 |
15 #include <map> | 15 #include <map> |
16 #include <string> | 16 #include <string> |
17 #include <vector> | 17 #include <vector> |
18 | 18 |
19 #include "base/basictypes.h" | 19 #include "base/basictypes.h" |
20 #include "base/observer_list.h" | 20 #include "base/observer_list.h" |
21 #include "base/scoped_ptr.h" | 21 #include "base/scoped_ptr.h" |
22 #include "base/string16.h" | 22 #include "base/string16.h" |
23 #include "chrome/browser/autofill/field_types.h" | 23 #include "chrome/browser/autofill/field_types.h" |
24 #include "chrome/browser/cancelable_request.h" | 24 #include "chrome/browser/cancelable_request.h" |
25 #include "chrome/browser/tab_contents/navigation_entry.h" | 25 #include "chrome/browser/tab_contents/navigation_entry.h" |
26 #include "chrome/common/automation_constants.h" | |
27 #include "chrome/common/content_settings.h" | 26 #include "chrome/common/content_settings.h" |
28 #include "chrome/common/notification_observer.h" | 27 #include "chrome/common/notification_observer.h" |
| 28 #include "chrome/test/automation/automation_constants.h" |
29 #include "ipc/ipc_message.h" | 29 #include "ipc/ipc_message.h" |
30 #include "ipc/ipc_channel.h" | 30 #include "ipc/ipc_channel.h" |
31 #if defined(OS_WIN) | 31 #if defined(OS_WIN) |
32 #include "gfx/native_widget_types.h" | 32 #include "gfx/native_widget_types.h" |
33 #include "views/event.h" | 33 #include "views/event.h" |
34 #endif // defined(OS_WIN) | 34 #endif // defined(OS_WIN) |
35 | 35 |
36 struct AutomationMsg_Find_Params; | 36 struct AutomationMsg_Find_Params; |
37 class PopupMenuWaiter; | 37 class PopupMenuWaiter; |
38 class TabContents; | 38 class TabContents; |
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 scoped_ptr<NotificationObserver> dom_inspector_observer_; | 401 scoped_ptr<NotificationObserver> dom_inspector_observer_; |
402 scoped_ptr<ExtensionTestResultNotificationObserver> | 402 scoped_ptr<ExtensionTestResultNotificationObserver> |
403 extension_test_result_observer_; | 403 extension_test_result_observer_; |
404 scoped_ptr<AutomationExtensionTracker> extension_tracker_; | 404 scoped_ptr<AutomationExtensionTracker> extension_tracker_; |
405 PortContainerMap port_containers_; | 405 PortContainerMap port_containers_; |
406 | 406 |
407 DISALLOW_COPY_AND_ASSIGN(AutomationProvider); | 407 DISALLOW_COPY_AND_ASSIGN(AutomationProvider); |
408 }; | 408 }; |
409 | 409 |
410 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ | 410 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ |
OLD | NEW |