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

Unified Diff: content/shell/shell_main_delegate_android.h

Issue 10035034: Implement the skeleton of an android content shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove tabs from content.xml Created 8 years, 8 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: 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..136259ffef75eaa47d60100a345ed2433086e13e
--- /dev/null
+++ b/content/shell/shell_main_delegate_android.h
@@ -0,0 +1,34 @@
+// 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_;
+
+ DISALLOW_COPY_AND_ASSIGN(ShellMainDelegateAndroid);
+};
+
+#endif // CONTENT_SHELL_SHELL_MAIN_DELEGATE_ANDROID_H_

Powered by Google App Engine
This is Rietveld 408576698