Index: apps/app_window.h |
diff --git a/apps/app_window.h b/apps/app_window.h |
index 7e35b81bd29451af61eef6da964aad09930e8217..ac2eef601ea1491b6e98594f132d15ad37516eed 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(AppWindowContents* contents) { |
Daniel Erat
2014/08/15 20:22:12
nit: pass a scoped_ptr<AppWindowContents> so the o
Daniel Nishi
2014/08/18 17:38:47
Done.
|
+ app_window_contents_.reset(contents); |
+ } |
+ |
protected: |
virtual ~AppWindow(); |