Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Unified Diff: apps/shell/common/shell_delegate.h

Issue 270763002: Minimal athena shell main (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698