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

Unified Diff: apps/shell/browser/default_shell_browser_main_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
« no previous file with comments | « apps/shell/app_shell.gyp ('k') | apps/shell/browser/default_shell_browser_main_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/shell/browser/default_shell_browser_main_delegate.h
diff --git a/apps/shell/browser/default_shell_browser_main_delegate.h b/apps/shell/browser/default_shell_browser_main_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..eaea3bde156a8dd77f464b4d0e84c638c7b8e961
--- /dev/null
+++ b/apps/shell/browser/default_shell_browser_main_delegate.h
@@ -0,0 +1,30 @@
+// 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_BROWSER_DEFAULT_SHELL_BROWSER_MAIN_DELEGATE_H_
+#define APPS_SHELL_BROWSER_DEFAULT_SHELL_BROWSER_MAIN_DELEGATE_H_
+
+#include "apps/shell/browser/shell_browser_main_delegate.h"
+#include "base/compiler_specific.h"
+#include "base/macros.h"
+
+namespace apps {
+
+// A ShellBrowserMainDelegate that starts an application specified
+// by the "--app" command line. This is used only in the browser process.
+class DefaultShellBrowserMainDelegate : public ShellBrowserMainDelegate {
+ public:
+ DefaultShellBrowserMainDelegate();
+ virtual ~DefaultShellBrowserMainDelegate();
+
+ // ShellBrowserMainDelegate:
+ virtual void Start(content::BrowserContext* context) OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(DefaultShellBrowserMainDelegate);
+};
+
+} // namespace apps
+
+#endif // DEFAULT_SHELL_BROWSER_MAIN_DELEGATE_H_
« no previous file with comments | « apps/shell/app_shell.gyp ('k') | apps/shell/browser/default_shell_browser_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698