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

Side by Side Diff: content/browser/browser_main.h

Issue 7885041: Export more symbols needed for the component build of content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « content/app/content_main_delegate.h ('k') | content/browser/debugger/worker_devtools_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BROWSER_BROWSER_MAIN_H_ 5 #ifndef CONTENT_BROWSER_BROWSER_MAIN_H_
6 #define CONTENT_BROWSER_BROWSER_MAIN_H_ 6 #define CONTENT_BROWSER_BROWSER_MAIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "content/common/content_export.h"
11 12
12 class BrowserThread; 13 class BrowserThread;
13 class CommandLine; 14 class CommandLine;
14 class HighResolutionTimerManager; 15 class HighResolutionTimerManager;
15 class MessageLoop; 16 class MessageLoop;
16 struct MainFunctionParams; 17 struct MainFunctionParams;
17 18
18 namespace base { 19 namespace base {
19 class SystemMonitor; 20 class SystemMonitor;
20 } 21 }
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // possible. You have two choices for platform-specific code: (1) Execute it 60 // possible. You have two choices for platform-specific code: (1) Execute it
60 // from one of the platform-specific |Pre/Post...()| methods; do this if the 61 // from one of the platform-specific |Pre/Post...()| methods; do this if the
61 // code is unique to a platform type. Or (2) execute it from one of the 62 // code is unique to a platform type. Or (2) execute it from one of the
62 // "parts" (e.g., |EarlyInitialization()|) and provide platform-specific 63 // "parts" (e.g., |EarlyInitialization()|) and provide platform-specific
63 // implementations of your code (in a virtual method); do this if you need to 64 // implementations of your code (in a virtual method); do this if you need to
64 // provide different implementations across most/all platforms. 65 // provide different implementations across most/all platforms.
65 // - Unless your new code is just one or two lines, put it into a separate 66 // - Unless your new code is just one or two lines, put it into a separate
66 // method with a well-defined purpose. (Likewise, if you're adding to an 67 // method with a well-defined purpose. (Likewise, if you're adding to an
67 // existing chunk which makes it longer than one or two lines, please move 68 // existing chunk which makes it longer than one or two lines, please move
68 // the code out into a separate method.) 69 // the code out into a separate method.)
69 class BrowserMainParts { 70 class CONTENT_EXPORT BrowserMainParts {
70 public: 71 public:
71 explicit BrowserMainParts(const MainFunctionParams& parameters); 72 explicit BrowserMainParts(const MainFunctionParams& parameters);
72 virtual ~BrowserMainParts(); 73 virtual ~BrowserMainParts();
73 74
74 // Parts to be called by |BrowserMain()|. 75 // Parts to be called by |BrowserMain()|.
75 void EarlyInitialization(); 76 void EarlyInitialization();
76 void InitializeToolkit(); 77 void InitializeToolkit();
77 void MainMessageLoopStart(); 78 void MainMessageLoopStart();
78 void RunMainMessageLoopParts(); 79 void RunMainMessageLoopParts();
79 80
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 127
127 // Perform platform-specific work that needs to be done after the main event 128 // Perform platform-specific work that needs to be done after the main event
128 // loop has ended. The embedder must be sure to call this. 129 // loop has ended. The embedder must be sure to call this.
129 // TODO(jam): change this so that content calls it so that we don't depend on 130 // TODO(jam): change this so that content calls it so that we don't depend on
130 // the embedder. 131 // the embedder.
131 void DidEndMainMessageLoop(); 132 void DidEndMainMessageLoop();
132 133
133 } // namespace content 134 } // namespace content
134 135
135 #endif // CONTENT_BROWSER_BROWSER_MAIN_H_ 136 #endif // CONTENT_BROWSER_BROWSER_MAIN_H_
OLDNEW
« no previous file with comments | « content/app/content_main_delegate.h ('k') | content/browser/debugger/worker_devtools_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698