| OLD | NEW |
| 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 CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_H_ | 5 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_H_ |
| 6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_H_ | 6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_H_ |
| 7 | 7 |
| 8 namespace content { | 8 namespace content { |
| 9 class MojoShellConnection; | 9 class ServiceManagerConnection; |
| 10 } | 10 } |
| 11 | 11 |
| 12 // Interface class for Parts owned by ChromeBrowserMainParts. | 12 // Interface class for Parts owned by ChromeBrowserMainParts. |
| 13 // The default implementation for all methods is empty. | 13 // The default implementation for all methods is empty. |
| 14 | 14 |
| 15 // Most of these map to content::BrowserMainParts methods. This interface is | 15 // Most of these map to content::BrowserMainParts methods. This interface is |
| 16 // separate to allow stages to be further subdivided for Chrome specific | 16 // separate to allow stages to be further subdivided for Chrome specific |
| 17 // initialization stages (e.g. browser process init, profile init). | 17 // initialization stages (e.g. browser process init, profile init). |
| 18 | 18 |
| 19 // While ChromeBrowserMainParts are platform-specific, | 19 // While ChromeBrowserMainParts are platform-specific, |
| (...skipping 11 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 // ToolkitInitialized methods. | 32 // ToolkitInitialized methods. |
| 33 virtual void ToolkitInitialized() {} | 33 virtual void ToolkitInitialized() {} |
| 34 | 34 |
| 35 // MainMessageLoopStart methods. | 35 // MainMessageLoopStart methods. |
| 36 virtual void PreMainMessageLoopStart() {} | 36 virtual void PreMainMessageLoopStart() {} |
| 37 virtual void PostMainMessageLoopStart() {} | 37 virtual void PostMainMessageLoopStart() {} |
| 38 | 38 |
| 39 // MainMessageLoopRun methods. | 39 // MainMessageLoopRun methods. |
| 40 virtual void PreCreateThreads() {} | 40 virtual void PreCreateThreads() {} |
| 41 virtual void MojoShellConnectionStarted( | 41 virtual void ServiceManagerConnectionStarted( |
| 42 content::MojoShellConnection* connection) {} | 42 content::ServiceManagerConnection* connection) {} |
| 43 virtual void PreProfileInit() {} | 43 virtual void PreProfileInit() {} |
| 44 virtual void PostProfileInit() {} | 44 virtual void PostProfileInit() {} |
| 45 virtual void PreBrowserStart() {} | 45 virtual void PreBrowserStart() {} |
| 46 virtual void PostBrowserStart() {} | 46 virtual void PostBrowserStart() {} |
| 47 virtual void PreMainMessageLoopRun() {} | 47 virtual void PreMainMessageLoopRun() {} |
| 48 virtual void PostMainMessageLoopRun() {} | 48 virtual void PostMainMessageLoopRun() {} |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_H_ | 51 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_H_ |
| OLD | NEW |