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

Unified Diff: athena/test/base/test_windows.h

Issue 662763002: Support modal windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: fix leaks Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « athena/test/base/athena_test_base.cc ('k') | athena/test/base/test_windows.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/test/base/test_windows.h
diff --git a/athena/test/base/test_windows.h b/athena/test/base/test_windows.h
new file mode 100644
index 0000000000000000000000000000000000000000..86d49bf1e3895bd33e7d3d0f027aabd64129f23d
--- /dev/null
+++ b/athena/test/base/test_windows.h
@@ -0,0 +1,39 @@
+// Copyright 2014 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.
+
+#ifndef ATHENA_TEST_BASE_TEST_WINDOWS_H_
+#define ATHENA_TEST_BASE_TEST_WINDOWS_H_
+
+#include "base/memory/scoped_ptr.h"
+#include "ui/base/ui_base_types.h"
+#include "ui/wm/public/window_types.h"
+
+namespace aura {
+class Window;
+class WindowDelegate;
+}
+
+namespace gfx {
+class Rect;
+}
+
+namespace athena {
+namespace test {
+
+scoped_ptr<aura::Window> CreateNormalWindow(aura::WindowDelegate* delegate,
+ aura::Window* parent);
+
+scoped_ptr<aura::Window> CreateWindowWithType(aura::WindowDelegate* delegate,
+ aura::Window* parent,
+ ui::wm::WindowType window_type);
+
+scoped_ptr<aura::Window> CreateTransientWindow(aura::WindowDelegate* delegate,
+ aura::Window* transient_parent,
+ ui::ModalType modal_type,
+ bool top_most);
+
+} // namespace test
+} // namespace athena
+
+#endif // ATHENA_TEST_BASE_TEST_WINDOWS_H_
« no previous file with comments | « athena/test/base/athena_test_base.cc ('k') | athena/test/base/test_windows.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698