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

Side by Side Diff: chrome/browser/chromeos/chrome_browser_main_chromeos.h

Issue 8598005: Add ChromeBrowserMainExtraParts for non main parts (take 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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
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_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_
6 #define CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ 6 #define CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/chrome_browser_main_linux.h" 9 #include "chrome/browser/chrome_browser_main_linux.h"
10 10
11 namespace chromeos { 11 namespace chromeos {
12 class BrightnessObserver; 12 class BrightnessObserver;
13 class SessionManagerObserver; 13 class SessionManagerObserver;
14 14
15 #if defined(USE_AURA) 15 #if defined(USE_AURA)
16 class InitialBrowserWindowObserver; 16 class InitialBrowserWindowObserver;
17 #endif 17 #endif
18 } // namespace chromeos 18 } // namespace chromeos
19 19
20 class ChromeBrowserMainPartsChromeos : public ChromeBrowserMainPartsLinux { 20 class ChromeBrowserMainPartsChromeos : public ChromeBrowserMainPartsLinux {
21 public: 21 public:
22 explicit ChromeBrowserMainPartsChromeos( 22 explicit ChromeBrowserMainPartsChromeos(
23 const content::MainFunctionParams& parameters); 23 const content::MainFunctionParams& parameters);
24 virtual ~ChromeBrowserMainPartsChromeos(); 24 virtual ~ChromeBrowserMainPartsChromeos();
25 25
26 // content::BrowserMainParts overrides.
26 virtual void PreEarlyInitialization() OVERRIDE; 27 virtual void PreEarlyInitialization() OVERRIDE;
27 virtual void PreMainMessageLoopStart() OVERRIDE; 28 virtual void PreMainMessageLoopStart() OVERRIDE;
29 virtual void PostMainMessageLoopStart() OVERRIDE;
28 virtual void PreMainMessageLoopRun() OVERRIDE; 30 virtual void PreMainMessageLoopRun() OVERRIDE;
29 virtual void PostMainMessageLoopStart() OVERRIDE; 31 virtual void PostMainMessageLoopRun() OVERRIDE;
30 32
31 private: 33 private:
32 scoped_ptr<chromeos::BrightnessObserver> brightness_observer_; 34 scoped_ptr<chromeos::BrightnessObserver> brightness_observer_;
33 scoped_ptr<chromeos::SessionManagerObserver> session_manager_observer_; 35 scoped_ptr<chromeos::SessionManagerObserver> session_manager_observer_;
34 36
35 #if defined(USE_AURA) 37 #if defined(USE_AURA)
36 scoped_ptr<chromeos::InitialBrowserWindowObserver> 38 scoped_ptr<chromeos::InitialBrowserWindowObserver>
37 initial_browser_window_observer_; 39 initial_browser_window_observer_;
38 #endif 40 #endif
39 41
40 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); 42 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos);
41 }; 43 };
42 44
43 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ 45 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/chromeos/chrome_browser_main_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698