This source file includes following definitions.
- HideNativeWindow
- ShowAndFocusNativeWindow
- HideNativeWindowAura
- ShowAndFocusNativeWindowAura
#include "chrome/test/base/interactive_test_utils_aura.h"
#include "chrome/test/base/interactive_test_utils.h"
#include "ui/aura/window.h"
namespace ui_test_utils {
#if !defined(OS_WIN)
void HideNativeWindow(gfx::NativeWindow window) {
HideNativeWindowAura(window);
}
bool ShowAndFocusNativeWindow(gfx::NativeWindow window) {
return ShowAndFocusNativeWindowAura(window);
}
#endif
void HideNativeWindowAura(gfx::NativeWindow window) {
window->Hide();
}
bool ShowAndFocusNativeWindowAura(gfx::NativeWindow window) {
window->Show();
return true;
}
}