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 #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> |
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
732 std::cout << "Could not get IAccessible for window" << std::endl; | 732 std::cout << "Could not get IAccessible for window" << std::endl; |
733 } | 733 } |
734 | 734 |
735 bool IsDesktopUnlocked() { | 735 bool IsDesktopUnlocked() { |
736 HDESK desk = ::OpenInputDesktop(0, FALSE, DESKTOP_SWITCHDESKTOP); | 736 HDESK desk = ::OpenInputDesktop(0, FALSE, DESKTOP_SWITCHDESKTOP); |
737 if (desk) | 737 if (desk) |
738 ::CloseDesktop(desk); | 738 ::CloseDesktop(desk); |
739 return desk; | 739 return desk; |
740 } | 740 } |
741 | 741 |
742 FilePath GetIAccessible2ProxyStubPath() { | 742 base::FilePath GetIAccessible2ProxyStubPath() { |
743 FilePath path; | 743 base::FilePath path; |
744 PathService::Get(chrome::DIR_APP, &path); | 744 PathService::Get(chrome::DIR_APP, &path); |
745 return path.AppendASCII("IAccessible2Proxy.dll"); | 745 return path.AppendASCII("IAccessible2Proxy.dll"); |
746 } | 746 } |
747 | 747 |
748 } // namespace chrome_frame_test | 748 } // namespace chrome_frame_test |
OLD | NEW |