Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1411)

Side by Side Diff: chrome/test/base/interactive_test_utils_win.cc

Issue 2511683002: Remove unneeded stringprintf.h usage in chrome/ and net/ (Closed)
Patch Set: rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/test/base/chrome_unit_test_suite.cc ('k') | chrome/test/base/ui_test_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <Psapi.h> 7 #include <Psapi.h>
8 8
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/strings/stringprintf.h"
13 #include "base/time/time.h" 12 #include "base/time/time.h"
14 #include "chrome/test/base/interactive_test_utils_aura.h" 13 #include "chrome/test/base/interactive_test_utils_aura.h"
15 #include "ui/aura/window_tree_host.h" 14 #include "ui/aura/window_tree_host.h"
16 #include "ui/base/test/ui_controls.h" 15 #include "ui/base/test/ui_controls.h"
17 #include "ui/base/win/foreground_helper.h" 16 #include "ui/base/win/foreground_helper.h"
18 #include "ui/views/focus/focus_manager.h" 17 #include "ui/views/focus/focus_manager.h"
19 18
20 namespace ui_test_utils { 19 namespace ui_test_utils {
21 20
22 void HideNativeWindow(gfx::NativeWindow window) { 21 void HideNativeWindow(gfx::NativeWindow window) {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 } 64 }
66 } 65 }
67 GetWindowText(foreground_window, window_title, arraysize(window_title)); 66 GetWindowText(foreground_window, window_title, arraysize(window_title));
68 LOG(ERROR) << "ShowAndFocusNativeWindow failed. foreground window: " 67 LOG(ERROR) << "ShowAndFocusNativeWindow failed. foreground window: "
69 << foreground_window << ", title: " << window_title << ", path: " 68 << foreground_window << ", title: " << window_title << ", path: "
70 << path_str; 69 << path_str;
71 return false; 70 return false;
72 } 71 }
73 72
74 } // namespace ui_test_utils 73 } // namespace ui_test_utils
OLDNEW
« no previous file with comments | « chrome/test/base/chrome_unit_test_suite.cc ('k') | chrome/test/base/ui_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698