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

Unified Diff: content/shell/shell_browser_main_parts_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 unnecessary bits. 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_browser_main_parts_android.h
diff --git a/content/shell/shell_browser_main_parts_android.h b/content/shell/shell_browser_main_parts_android.h
new file mode 100644
index 0000000000000000000000000000000000000000..e0c374a2ce9c3a61a3aa64e37ef342f81dd3a377
--- /dev/null
+++ b/content/shell/shell_browser_main_parts_android.h
@@ -0,0 +1,30 @@
+// 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_BROWSER_MAIN_PARTS_ANDROID_H_
+#define CONTENT_SHELL_SHELL_BROWSER_MAIN_PARTS_ANDROID_H_
+
+#include "base/message_loop.h"
+#include "content/shell/shell_browser_main_parts.h"
+
+namespace content {
+
+class ShellBrowserMainPartsAndroid : public ShellBrowserMainParts {
+ public:
+ explicit ShellBrowserMainPartsAndroid(
+ const content::MainFunctionParams& parameters);
+ virtual ~ShellBrowserMainPartsAndroid();
+
+ // content::BrowserMainParts overrides.
+ virtual void PreEarlyInitialization() OVERRIDE;
+ virtual MessageLoop* GetMainMessageLoop() OVERRIDE;
+ virtual void PostMainMessageLoopStart() OVERRIDE;
+
+ private:
+ scoped_ptr<MessageLoop> main_message_loop_;
Yaron 2012/04/19 00:35:34 Add DISALLOW_COPY_AND_ASSIGN(ShellBrowserMainParts
Ted C 2012/04/19 01:17:07 Done.
+};
+
+} // namespace content
+
+#endif // CONTENT_SHELL_SHELL_BROWSER_MAIN_PARTS_ANDROID_H_

Powered by Google App Engine
This is Rietveld 408576698