Index: apps/app_window.h |
diff --git a/apps/app_window.h b/apps/app_window.h |
index a7f2293ecceec2fb1757d28dd5bdea06ae3efa5c..1379922040351d7d853a725b5ea973f418964106 100644 |
--- a/apps/app_window.h |
+++ b/apps/app_window.h |
@@ -347,6 +347,10 @@ class AppWindow : public content::NotificationObserver, |
// Whether the app window wants to be alpha enabled. |
bool requested_alpha_enabled() const { return requested_alpha_enabled_; } |
+ void SetAppWindowContentsForTesting(scoped_ptr<AppWindowContents> contents) { |
+ app_window_contents_ = contents.Pass(); |
+ } |
+ |
protected: |
virtual ~AppWindow(); |