OLD | NEW |
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 // 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 | 13 |
14 #include <list> | 14 #include <list> |
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/compiler_specific.h" | 20 #include "base/compiler_specific.h" |
21 #include "base/memory/scoped_ptr.h" | 21 #include "base/memory/scoped_ptr.h" |
22 #include "base/memory/weak_ptr.h" | 22 #include "base/memory/weak_ptr.h" |
23 #include "base/observer_list.h" | 23 #include "base/observer_list.h" |
24 #include "base/sequenced_task_runner_helpers.h" | 24 #include "base/sequenced_task_runner_helpers.h" |
25 #include "base/strings/string16.h" | 25 #include "base/strings/string16.h" |
26 #include "chrome/browser/common/cancelable_request.h" | 26 #include "chrome/browser/common/cancelable_request.h" |
27 #include "chrome/common/automation_constants.h" | 27 #include "chrome/common/automation_constants.h" |
28 #include "chrome/common/content_settings.h" | 28 #include "chrome/common/content_settings.h" |
29 #include "components/autofill/browser/field_types.h" | 29 #include "components/autofill/core/browser/field_types.h" |
30 #include "content/public/browser/browser_thread.h" | 30 #include "content/public/browser/browser_thread.h" |
31 #include "content/public/browser/notification_observer.h" | 31 #include "content/public/browser/notification_observer.h" |
32 #include "content/public/browser/trace_subscriber.h" | 32 #include "content/public/browser/trace_subscriber.h" |
33 #include "ipc/ipc_channel.h" | 33 #include "ipc/ipc_channel.h" |
34 #include "ipc/ipc_listener.h" | 34 #include "ipc/ipc_listener.h" |
35 #include "ipc/ipc_sender.h" | 35 #include "ipc/ipc_sender.h" |
36 | 36 |
37 #if defined(OS_WIN) && !defined(USE_AURA) | 37 #if defined(OS_WIN) && !defined(USE_AURA) |
38 #include "ui/gfx/native_widget_types.h" | 38 #include "ui/gfx/native_widget_types.h" |
39 #endif // defined(OS_WIN) && !defined(USE_AURA) | 39 #endif // defined(OS_WIN) && !defined(USE_AURA) |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 std::string channel_id_; | 360 std::string channel_id_; |
361 | 361 |
362 // Trace data that has been collected but not flushed to the automation | 362 // Trace data that has been collected but not flushed to the automation |
363 // client. | 363 // client. |
364 TracingData tracing_data_; | 364 TracingData tracing_data_; |
365 | 365 |
366 DISALLOW_COPY_AND_ASSIGN(AutomationProvider); | 366 DISALLOW_COPY_AND_ASSIGN(AutomationProvider); |
367 }; | 367 }; |
368 | 368 |
369 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ | 369 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ |
OLD | NEW |