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 #ifndef WIN8_TEST_UI_AUTOMATION_CLIENT_H_ | 5 #ifndef WIN8_TEST_UI_AUTOMATION_CLIENT_H_ |
6 #define WIN8_TEST_UI_AUTOMATION_CLIENT_H_ | 6 #define WIN8_TEST_UI_AUTOMATION_CLIENT_H_ |
7 | 7 |
8 // This file contains UI automation implementation details for the | 8 // This file contains UI automation implementation details for the |
9 // OpenWithDialogController. See that class for consumable entrypoints. | 9 // OpenWithDialogController. See that class for consumable entrypoints. |
10 | 10 |
11 #include <windows.h> | 11 #include <windows.h> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
15 #include "base/callback_forward.h" | 15 #include "base/callback_forward.h" |
16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
17 #include "base/string16.h" | 17 #include "base/strings/string16.h" |
18 #include "base/threading/thread.h" | 18 #include "base/threading/thread.h" |
19 #include "base/threading/thread_checker.h" | 19 #include "base/threading/thread_checker.h" |
20 | 20 |
21 namespace win8 { | 21 namespace win8 { |
22 namespace internal { | 22 namespace internal { |
23 | 23 |
24 // An asynchronous UI automation client that waits for the appearance of a | 24 // An asynchronous UI automation client that waits for the appearance of a |
25 // Window of a particular class and then invokes one of its children identified | 25 // Window of a particular class and then invokes one of its children identified |
26 // by name. An instance may be destroyed at any time after Begin() is invoked. | 26 // by name. An instance may be destroyed at any time after Begin() is invoked. |
27 // Any pending operation is cancelled. | 27 // Any pending operation is cancelled. |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 // A pointer to the context object that lives on the automation thread. | 61 // A pointer to the context object that lives on the automation thread. |
62 base::WeakPtr<Context> context_; | 62 base::WeakPtr<Context> context_; |
63 | 63 |
64 DISALLOW_COPY_AND_ASSIGN(UIAutomationClient); | 64 DISALLOW_COPY_AND_ASSIGN(UIAutomationClient); |
65 }; | 65 }; |
66 | 66 |
67 } // namespace internal | 67 } // namespace internal |
68 } // namespace win8 | 68 } // namespace win8 |
69 | 69 |
70 #endif // WIN8_TEST_UI_AUTOMATION_CLIENT_H_ | 70 #endif // WIN8_TEST_UI_AUTOMATION_CLIENT_H_ |
OLD | NEW |