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

Unified Diff: ui/aura/window.cc

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/window.h ('k') | ui/aura/window_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.cc
diff --git a/ui/aura/window.cc b/ui/aura/window.cc
index 75b3fc88b1a86ad954710d801a6a88f1285abb47..84251126124a73826eba0e2902705ad7cd20139a 100644
--- a/ui/aura/window.cc
+++ b/ui/aura/window.cc
@@ -33,16 +33,6 @@
namespace aura {
-Window::TestApi::TestApi(Window* window) : window_(window) {}
-
-bool Window::TestApi::OwnsLayer() const {
- return !!window_->layer_owner_.get();
-}
-
-bool Window::TestApi::ContainsMouse() {
- return window_->ContainsMouse();
-}
-
Window::Window(WindowDelegate* delegate)
: type_(client::WINDOW_TYPE_UNKNOWN),
owned_by_parent_(true),
« no previous file with comments | « ui/aura/window.h ('k') | ui/aura/window_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698