diff options
Diffstat (limited to 'ash/shell.h')
-rw-r--r-- | ash/shell.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ash/shell.h b/ash/shell.h index 892b04a..67551c8 100644 --- a/ash/shell.h +++ b/ash/shell.h @@ -150,6 +150,7 @@ class ASH_EXPORT Shell // A shell must be explicitly created so that it can call |Init()| with the // delegate set. |delegate| can be NULL (if not required for initialization). + // Takes ownership of |delegate|. static Shell* CreateInstance(ShellDelegate* delegate); // Should never be called before |CreateInstance()|. @@ -456,6 +457,7 @@ class ASH_EXPORT Shell typedef std::pair<aura::Window*, gfx::Rect> WindowAndBoundsPair; + // Takes ownership of |delegate|. explicit Shell(ShellDelegate* delegate); virtual ~Shell(); |