Index: content/shell/shell_main_delegate_android.h |
diff --git a/content/shell/shell_main_delegate_android.h b/content/shell/shell_main_delegate_android.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..877408237cc82b2847bf50c6496e81050f13585a |
--- /dev/null |
+++ b/content/shell/shell_main_delegate_android.h |
@@ -0,0 +1,32 @@ |
+// Copyright (c) 2012 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 CONTENT_SHELL_SHELL_MAIN_DELEGATE_ANDROID_H_ |
+#define CONTENT_SHELL_SHELL_MAIN_DELEGATE_ANDROID_H_ |
+#pragma once |
+ |
+#include "content/shell/shell_main_delegate.h" |
+ |
+namespace content { |
+class BrowserMainRunner; |
+} // namespace content |
+ |
+// Android override of ShellMainDelegate. |
+class ShellMainDelegateAndroid : public ShellMainDelegate { |
+ public: |
+ ShellMainDelegateAndroid(); |
+ virtual ~ShellMainDelegateAndroid(); |
+ |
+ virtual int RunProcess( |
+ const std::string& process_type, |
+ const content::MainFunctionParams& main_function_params) OVERRIDE; |
+ |
+ protected: |
+ virtual void InitializeResourceBundle() OVERRIDE; |
+ |
+ private: |
+ scoped_ptr<content::BrowserMainRunner> browser_runner_; |
Yaron
2012/04/19 00:35:34
Add DISALLOW_COPY_AND_ASSIGN..
Ted C
2012/04/19 01:17:07
Done.
|
+}; |
+ |
+#endif // CONTENT_SHELL_SHELL_MAIN_DELEGATE_ANDROID_H_ |