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

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

Issue 132203004: Remove window_snapshot.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing include Created 6 years, 11 months 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | no next file » | 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 "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"
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "chrome/browser/ui/window_snapshot/window_snapshot.h"
13 #include "ui/base/test/ui_controls.h" 12 #include "ui/base/test/ui_controls.h"
14 #include "ui/base/win/foreground_helper.h" 13 #include "ui/base/win/foreground_helper.h"
15 #include "ui/views/focus/focus_manager.h" 14 #include "ui/views/focus/focus_manager.h"
16 15
17 #if defined(USE_AURA) 16 #if defined(USE_AURA)
18 #include "chrome/browser/ui/host_desktop.h" 17 #include "chrome/browser/ui/host_desktop.h"
19 #include "chrome/test/base/interactive_test_utils_aura.h" 18 #include "chrome/test/base/interactive_test_utils_aura.h"
20 #include "ui/aura/root_window.h" 19 #include "ui/aura/root_window.h"
21 #endif 20 #endif
22 21
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 ui::ForegroundHelper::SetForeground(hwnd); 54 ui::ForegroundHelper::SetForeground(hwnd);
56 } 55 }
57 56
58 // ShowWindow does not necessarily activate the window. In particular if a 57 // ShowWindow does not necessarily activate the window. In particular if a
59 // window from another app is the foreground window then the request to 58 // window from another app is the foreground window then the request to
60 // activate the window fails. See SetForegroundWindow for details. 59 // activate the window fails. See SetForegroundWindow for details.
61 return GetForegroundWindow() == hwnd; 60 return GetForegroundWindow() == hwnd;
62 } 61 }
63 62
64 } // namespace ui_test_utils 63 } // namespace ui_test_utils
OLDNEW
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698