summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/app_window.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/app_window.h b/apps/app_window.h
index a7f2293..1379922 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();