Chromium Code Reviews| 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_MAIN_DELEGATE_ANDROID_H_ | |
| 6 #define CONTENT_SHELL_SHELL_MAIN_DELEGATE_ANDROID_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "content/shell/shell_main_delegate.h" | |
| 10 | |
| 11 namespace content { | |
| 12 class BrowserMainRunner; | |
| 13 } // namespace content | |
| 14 | |
| 15 // Android override of ShellMainDelegate. | |
| 16 class ShellMainDelegateAndroid : public ShellMainDelegate { | |
| 17 public: | |
| 18 ShellMainDelegateAndroid(); | |
| 19 virtual ~ShellMainDelegateAndroid(); | |
| 20 | |
| 21 virtual int RunProcess( | |
| 22 const std::string& process_type, | |
| 23 const content::MainFunctionParams& main_function_params) OVERRIDE; | |
| 24 | |
| 25 protected: | |
| 26 virtual void InitializeResourceBundle() OVERRIDE; | |
| 27 | |
| 28 private: | |
| 29 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.
| |
| 30 }; | |
| 31 | |
| 32 #endif // CONTENT_SHELL_SHELL_MAIN_DELEGATE_ANDROID_H_ | |
| OLD | NEW |