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

Side by Side Diff: content/public/app/content_main.h

Issue 11368031: First step towards component build for Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: indent Created 8 years, 1 month 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_APP_CONTENT_MAIN_H_ 5 #ifndef CONTENT_PUBLIC_APP_CONTENT_MAIN_H_
6 #define CONTENT_PUBLIC_APP_CONTENT_MAIN_H_ 6 #define CONTENT_PUBLIC_APP_CONTENT_MAIN_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 10
(...skipping 19 matching lines...) Expand all
30 // content_main_win.h 30 // content_main_win.h
31 CONTENT_EXPORT int ContentMain(HINSTANCE instance, 31 CONTENT_EXPORT int ContentMain(HINSTANCE instance,
32 sandbox::SandboxInterfaceInfo* sandbox_info, 32 sandbox::SandboxInterfaceInfo* sandbox_info,
33 ContentMainDelegate* delegate); 33 ContentMainDelegate* delegate);
34 #elif defined(OS_ANDROID) 34 #elif defined(OS_ANDROID)
35 // In the Android, the content main starts from ContentMain.java, This function 35 // In the Android, the content main starts from ContentMain.java, This function
36 // provides a way to set the |delegate| as ContentMainDelegate for 36 // provides a way to set the |delegate| as ContentMainDelegate for
37 // ContentMainRunner. 37 // ContentMainRunner.
38 // This should only be called once before ContentMainRunner actually running. 38 // This should only be called once before ContentMainRunner actually running.
39 // The ownership of |delegate| is transferred. 39 // The ownership of |delegate| is transferred.
40 void SetContentMainDelegate(ContentMainDelegate* delegate); 40 CONTENT_EXPORT void SetContentMainDelegate(ContentMainDelegate* delegate);
41 #else 41 #else
42 CONTENT_EXPORT int ContentMain(int argc, 42 CONTENT_EXPORT int ContentMain(int argc,
43 const char** argv, 43 const char** argv,
44 ContentMainDelegate* delegate); 44 ContentMainDelegate* delegate);
45 #endif // defined(OS_WIN) 45 #endif // defined(OS_WIN)
46 46
47 } // namespace content 47 } // namespace content
48 48
49 #endif // CONTENT_PUBLIC_APP_CONTENT_MAIN_H_ 49 #endif // CONTENT_PUBLIC_APP_CONTENT_MAIN_H_
OLDNEW
« no previous file with comments | « content/public/app/android_library_loader_hooks.h ('k') | content/public/browser/android/compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698