OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #include "win8/test/ui_automation_client.h" | 5 #include "win8/test/ui_automation_client.h" |
6 | 6 |
7 #include <atlbase.h> | 7 #include <atlbase.h> |
8 #include <atlcom.h> | 8 #include <atlcom.h> |
9 #include <oleauto.h> | 9 #include <oleauto.h> |
10 #include <uiautomation.h> | 10 #include <uiautomation.h> |
11 | 11 |
12 #include <algorithm> | 12 #include <algorithm> |
13 | 13 |
14 #include "base/bind.h" | 14 #include "base/bind.h" |
15 #include "base/callback.h" | 15 #include "base/callback.h" |
16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
17 #include "base/string_number_conversions.h" | 17 #include "base/strings/string_number_conversions.h" |
18 #include "base/string_util.h" | 18 #include "base/strings/string_util.h" |
19 #include "base/thread_task_runner_handle.h" | 19 #include "base/thread_task_runner_handle.h" |
20 #include "base/win/scoped_comptr.h" | 20 #include "base/win/scoped_comptr.h" |
21 #include "base/win/scoped_variant.h" | 21 #include "base/win/scoped_variant.h" |
22 | 22 |
23 namespace win8 { | 23 namespace win8 { |
24 namespace internal { | 24 namespace internal { |
25 | 25 |
26 // The guts of the UI automation client which runs on a dedicated thread in the | 26 // The guts of the UI automation client which runs on a dedicated thread in the |
27 // multi-threaded COM apartment. An instance may be constructed on any thread, | 27 // multi-threaded COM apartment. An instance may be constructed on any thread, |
28 // but Initialize() must be invoked on a thread in the MTA. | 28 // but Initialize() must be invoked on a thread in the MTA. |
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
618 context_, | 618 context_, |
619 base::ThreadTaskRunnerHandle::Get(), | 619 base::ThreadTaskRunnerHandle::Get(), |
620 string16(class_name), | 620 string16(class_name), |
621 item_name, | 621 item_name, |
622 init_callback, | 622 init_callback, |
623 result_callback)); | 623 result_callback)); |
624 } | 624 } |
625 | 625 |
626 } // namespace internal | 626 } // namespace internal |
627 } // namespace win8 | 627 } // namespace win8 |
OLD | NEW |