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

Unified Diff: ui/aura/test/window_test_api.h

Issue 12087006: aura: Do not include test code in production code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win7_aura Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/aura.gyp ('k') | ui/aura/test/window_test_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/window_test_api.h
diff --git a/ui/aura/test/window_test_api.h b/ui/aura/test/window_test_api.h
new file mode 100644
index 0000000000000000000000000000000000000000..16a38ccf4a9cfa3a386d17945c89ba49716c082e
--- /dev/null
+++ b/ui/aura/test/window_test_api.h
@@ -0,0 +1,33 @@
+// Copyright 2013 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 UI_AURA_TEST_WINDOW_TEST_API_H_
+#define UI_AURA_TEST_WINDOW_TEST_API_H_
+
+#include "base/basictypes.h"
+
+namespace aura {
+
+class Window;
+
+namespace test {
+
+class WindowTestApi {
+ public:
+ explicit WindowTestApi(Window* window);
+
+ bool OwnsLayer() const;
+
+ bool ContainsMouse() const;
+
+ private:
+ Window* window_;
+
+ DISALLOW_COPY_AND_ASSIGN(WindowTestApi);
+};
+
+} // namespace test
+} // namespace aura
+
+#endif // UI_AURA_TEST_WINDOW_TEST_API_H_
« no previous file with comments | « ui/aura/aura.gyp ('k') | ui/aura/test/window_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698