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

Unified Diff: views/widget/widget.h

Issue 7534002: Shell of implementation for embedded windows. At this point this is (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporate review feedback Created 9 years, 5 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 | « views/view_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/widget.h
diff --git a/views/widget/widget.h b/views/widget/widget.h
index 372b5a8147e04e211e3531d822c00132e8a6194c..9af648158be96a5c2b53a11bc3bd2c45ff0973d7 100644
--- a/views/widget/widget.h
+++ b/views/widget/widget.h
@@ -486,11 +486,9 @@ class VIEWS_API Widget : public internal::NativeWidgetDelegate,
return non_client_view_ ? non_client_view_->client_view() : NULL;
}
-#if defined(UNIT_TEST)
- static void set_compositor_factory(ui::Compositor*(*factory)()) {
+ static void set_compositor_factory_for_testing(ui::Compositor*(*factory)()) {
compositor_factory_ = factory;
}
-#endif
static ui::Compositor* (*compositor_factory())() {
return compositor_factory_;
}
« no previous file with comments | « views/view_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698