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 #include "chrome_frame/test/chrome_frame_ui_test_utils.h" | 5 #include "chrome_frame/test/chrome_frame_ui_test_utils.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 | 8 |
9 #include <sstream> | 9 #include <sstream> |
10 #include <stack> | 10 #include <stack> |
11 | 11 |
12 #include "base/message_loop.h" | 12 #include "base/message_loop.h" |
13 #include "base/path_service.h" | 13 #include "base/path_service.h" |
14 #include "base/scoped_ptr.h" | 14 #include "base/scoped_ptr.h" |
15 #include "base/string_util.h" | 15 #include "base/string_util.h" |
16 #include "base/stringprintf.h" | 16 #include "base/stringprintf.h" |
17 #include "base/utf_string_conversions.h" | 17 #include "base/utf_string_conversions.h" |
18 #include "base/win/scoped_bstr.h" | 18 #include "base/win/scoped_bstr.h" |
19 #include "chrome/common/chrome_paths.h" | 19 #include "chrome/common/chrome_paths.h" |
20 #include "chrome_frame/test/win_event_receiver.h" | 20 #include "chrome_frame/test/win_event_receiver.h" |
21 #include "chrome_frame/utils.h" | 21 #include "chrome_frame/utils.h" |
22 #include "gfx/point.h" | |
23 #include "gfx/rect.h" | |
24 #include "ia2_api_all.h" // Generated NOLINT | 22 #include "ia2_api_all.h" // Generated NOLINT |
25 #include "testing/gtest/include/gtest/gtest.h" | 23 #include "testing/gtest/include/gtest/gtest.h" |
| 24 #include "ui/gfx/point.h" |
| 25 #include "ui/gfx/rect.h" |
26 | 26 |
27 namespace chrome_frame_test { | 27 namespace chrome_frame_test { |
28 | 28 |
29 // Timeout for waiting on Chrome to create the accessibility tree for the DOM. | 29 // Timeout for waiting on Chrome to create the accessibility tree for the DOM. |
30 const int kChromeDOMAccessibilityTreeTimeoutMs = 10 * 1000; | 30 const int kChromeDOMAccessibilityTreeTimeoutMs = 10 * 1000; |
31 | 31 |
32 // Timeout for waiting on a menu to popup. | 32 // Timeout for waiting on a menu to popup. |
33 const int kMenuPopupTimeoutMs = 10 * 1000; | 33 const int kMenuPopupTimeoutMs = 10 * 1000; |
34 | 34 |
35 // AccObject methods | 35 // AccObject methods |
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
738 return desk; | 738 return desk; |
739 } | 739 } |
740 | 740 |
741 FilePath GetIAccessible2ProxyStubPath() { | 741 FilePath GetIAccessible2ProxyStubPath() { |
742 FilePath path; | 742 FilePath path; |
743 PathService::Get(chrome::DIR_APP, &path); | 743 PathService::Get(chrome::DIR_APP, &path); |
744 return path.AppendASCII("IAccessible2Proxy.dll"); | 744 return path.AppendASCII("IAccessible2Proxy.dll"); |
745 } | 745 } |
746 | 746 |
747 } // namespace chrome_frame_test | 747 } // namespace chrome_frame_test |
OLD | NEW |