| Index: chrome/test/ui_test_utils_win.cc
|
| diff --git a/chrome/test/ui_test_utils_win.cc b/chrome/test/ui_test_utils_win.cc
|
| index 22fa003b418bc5a4c10560ababf48a49b59ee35a..8c45ee3fc38e9117741e42b719f14316d7d6dedf 100644
|
| --- a/chrome/test/ui_test_utils_win.cc
|
| +++ b/chrome/test/ui_test_utils_win.cc
|
| @@ -39,4 +39,16 @@ void ClickOnView(const Browser* browser, ViewID vid) {
|
| RunMessageLoop();
|
| }
|
|
|
| +void HideNativeWindow(gfx::NativeWindow window) {
|
| + // TODO(jcampan): retrieve the WidgetWin and show/hide on it instead of
|
| + // using Windows API.
|
| + ::ShowWindow(window, SW_HIDE);
|
| +}
|
| +
|
| +void ShowAndFocusNativeWindow(gfx::NativeWindow window) {
|
| + // TODO(jcampan): retrieve the WidgetWin and show/hide on it instead of
|
| + // using Windows API.
|
| + ::ShowWindow(window, SW_SHOW);
|
| +}
|
| +
|
| } // namespace ui_test_utils
|
|
|