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

Unified Diff: chrome/browser/ui/views/test/ui_test_utils_aura.cc

Issue 11414223: Move the test functions that deal with focus to interactive_ui_tets_utils.h and into the interactiv… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/test/ui_test_utils_aura.cc
===================================================================
--- chrome/browser/ui/views/test/ui_test_utils_aura.cc (revision 170118)
+++ chrome/browser/ui/views/test/ui_test_utils_aura.cc (working copy)
@@ -1,31 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/ui/views/test/ui_test_utils_aura.h"
-
-#include "chrome/test/base/ui_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;
-}
-
-} // namespace ui_test_utils

Powered by Google App Engine
This is Rietveld 408576698