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

Side by Side Diff: chrome/browser/chrome_browser_parts.h

Issue 8539038: Add ChromeBrowserMainExtraParts for non main parts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simplify CL. Created 9 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROME_BROWSER_PARTS_H_
6 #define CHROME_BROWSER_CHROME_BROWSER_PARTS_H_
7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10
11 // Interface class for Parts owned by ChromeBrowserMainParts.
12 // The default implementation for all methods is empty.
13
14 // Most of these map to content::BrowserMainParts methods. This interface is
15 // separate to allow stages to be further subdivided for Chrome specific
16 // initialization stages (e.g. browser process init, profile init).
17
18 class ChromeBrowserParts {
jam 2011/11/14 19:45:55 it's confusing to have both ChromeBrowserParts and
stevenjb 2011/11/14 23:31:10 I agree it is confusing, but I specifically avoide
jam 2011/11/15 00:10:51 Sorry to nit, but I don't quite follow this argume
19 public:
20 ChromeBrowserParts();
21 virtual ~ChromeBrowserParts();
22
23 // EarlyInitialization methods.
24 virtual void PreEarlyInitialization();
25 virtual void PostEarlyInitialization();
26
27 // PreMainMessageLoopStart methods.
28 virtual void PreMainMessageLoopStart();
29 virtual void PostMainMessageLoopStart();
30
31 // ToolkitInitialized methods.
32 virtual void ToolkitInitialized();
33
34 // MainMessageLoopRun methods.
35 virtual void PostBrowserProcessInit();
36 virtual void PostProfileInitialized();
37 virtual void PreMainMessageLoopRun();
38 virtual void PostMainMessageLoopRun();
39
40 private:
41 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserParts);
42 };
43
44 #endif // CHROME_BROWSER_CHROME_BROWSER_PARTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698