OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_SHELL_SHELL_BROWSER_MAIN_PARTS_ANDROID_H_ |
| 6 #define CONTENT_SHELL_SHELL_BROWSER_MAIN_PARTS_ANDROID_H_ |
| 7 |
| 8 #include "base/message_loop.h" |
| 9 #include "content/shell/shell_browser_main_parts.h" |
| 10 |
| 11 namespace content { |
| 12 |
| 13 class ShellBrowserMainPartsAndroid : public ShellBrowserMainParts { |
| 14 public: |
| 15 explicit ShellBrowserMainPartsAndroid( |
| 16 const content::MainFunctionParams& parameters); |
| 17 virtual ~ShellBrowserMainPartsAndroid(); |
| 18 |
| 19 // content::BrowserMainParts overrides. |
| 20 virtual void PreEarlyInitialization() OVERRIDE; |
| 21 virtual MessageLoop* GetMainMessageLoop() OVERRIDE; |
| 22 virtual void PostMainMessageLoopStart() OVERRIDE; |
| 23 |
| 24 private: |
| 25 scoped_ptr<MessageLoop> main_message_loop_; |
| 26 |
| 27 DISALLOW_COPY_AND_ASSIGN(ShellBrowserMainPartsAndroid); |
| 28 }; |
| 29 |
| 30 } // namespace content |
| 31 |
| 32 #endif // CONTENT_SHELL_SHELL_BROWSER_MAIN_PARTS_ANDROID_H_ |
OLD | NEW |