Index: apps/shell/common/shell_delegate.h |
diff --git a/apps/shell/common/shell_delegate.h b/apps/shell/common/shell_delegate.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9e1a082ede8b906660f48f1e9779ed0205e90d8f |
--- /dev/null |
+++ b/apps/shell/common/shell_delegate.h |
@@ -0,0 +1,25 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef APPS_SHELL_COMMON_SHELL_DELEGATE_H_ |
+#define APPS_SHELL_COMMON_SHELL_DELEGATE_H_ |
+ |
+namespace content { |
+class BrowserContext; |
+} |
+ |
+namespace apps { |
+ |
+class ShellBrowserMainParts; |
+ |
+class ShellDelegate { |
oshima
2014/05/07 22:08:03
This isn't great name. Any suggestion? Maybe we sh
James Cook
2014/05/07 23:42:45
I like the idea of just passing around a callback.
oshima
2014/05/08 21:12:37
done
|
+ public: |
+ virtual ~ShellDelegate() {} |
+ |
+ virtual void Start(content::BrowserContext* context) = 0; |
+}; |
+ |
+} // namespace apps |
+ |
+#endif // APPS_SHELL_COMMON_APP_DELEGATE_H_ |