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

Side by Side Diff: chrome/app/android/chrome_main_delegate_android.h

Issue 10918113: Add initial Chromium TestShell support for Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove commented out lines. Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 CHROME_APP_ANDROID_CHROME_MAIN_DELEGATE_ANDROID_H_
6 #define CHROME_APP_ANDROID_CHROME_MAIN_DELEGATE_ANDROID_H_
7
8 #include "chrome/app/chrome_main_delegate.h"
9 #include "content/public/browser/browser_main_runner.h"
10
11 // Android override of ChromeMainDelegate
12 class ChromeMainDelegateAndroid : public ChromeMainDelegate {
13 public:
14 ChromeMainDelegateAndroid();
15 virtual ~ChromeMainDelegateAndroid();
16
17 // Set up the JNI bindings. Tie the Java methods with their native
18 // counterparts. Override to add more JNI bindings.
19 virtual bool RegisterApplicationNativeMethods(JNIEnv* env);
20
21 protected:
22 virtual bool BasicStartupComplete(int* exit_code) OVERRIDE;
23
24 virtual void SandboxInitialized(const std::string& process_type) OVERRIDE;
25
26 virtual int RunProcess(
27 const std::string& process_type,
28 const content::MainFunctionParams& main_function_params) OVERRIDE;
29
30 private:
31 scoped_ptr<content::BrowserMainRunner> browser_runner_;
32
33 DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegateAndroid);
34 };
35
36 #endif // CHROME_APP_ANDROID_CHROME_MAIN_DELEGATE_ANDROID_H_
OLDNEW
« no previous file with comments | « chrome/app/android/chrome_android_initializer.cc ('k') | chrome/app/android/chrome_main_delegate_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698