| 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" | |
| 15 #include "base/callback_forward.h" | 14 #include "base/callback_forward.h" |
| 15 #include "base/macros.h" |
| 16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 17 #include "base/strings/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 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 // A pointer to the context object that lives on the automation thread. | 62 // A pointer to the context object that lives on the automation thread. |
| 63 base::WeakPtr<Context> context_; | 63 base::WeakPtr<Context> context_; |
| 64 | 64 |
| 65 DISALLOW_COPY_AND_ASSIGN(UIAutomationClient); | 65 DISALLOW_COPY_AND_ASSIGN(UIAutomationClient); |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace internal | 68 } // namespace internal |
| 69 } // namespace win8 | 69 } // namespace win8 |
| 70 | 70 |
| 71 #endif // WIN8_TEST_UI_AUTOMATION_CLIENT_H_ | 71 #endif // WIN8_TEST_UI_AUTOMATION_CLIENT_H_ |
| OLD | NEW |