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/test/base/interactive_test_utils.h" | 5 #include "chrome/test/base/interactive_test_utils.h" |
6 | 6 |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
10 #include "base/strings/stringprintf.h" | 10 #include "base/strings/stringprintf.h" |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 return true; | 51 return true; |
52 | 52 |
53 wchar_t window_title[256]; | 53 wchar_t window_title[256]; |
54 GetWindowText(foreground_window, window_title, arraysize(window_title)); | 54 GetWindowText(foreground_window, window_title, arraysize(window_title)); |
55 LOG(ERROR) << "ShowAndFocusNativeWindow failed. foreground window text: " << | 55 LOG(ERROR) << "ShowAndFocusNativeWindow failed. foreground window text: " << |
56 window_title; | 56 window_title; |
57 return false; | 57 return false; |
58 } | 58 } |
59 | 59 |
60 } // namespace ui_test_utils | 60 } // namespace ui_test_utils |
OLD | NEW |