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_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 } // namespace chromeos | 14 } // namespace chromeos |
15 | 15 |
16 class ChromeBrowserMainPartsChromeos : public ChromeBrowserMainPartsLinux { | 16 class ChromeBrowserMainPartsChromeos : public ChromeBrowserMainPartsLinux { |
17 public: | 17 public: |
18 explicit ChromeBrowserMainPartsChromeos( | 18 explicit ChromeBrowserMainPartsChromeos( |
19 const content::MainFunctionParams& parameters); | 19 const content::MainFunctionParams& parameters); |
20 virtual ~ChromeBrowserMainPartsChromeos(); | 20 virtual ~ChromeBrowserMainPartsChromeos(); |
21 | 21 |
22 // content::BrowserMainParts overrides. | |
22 virtual void PreEarlyInitialization() OVERRIDE; | 23 virtual void PreEarlyInitialization() OVERRIDE; |
24 | |
jam
2011/11/14 19:45:55
nit: the blank lines are unnecessary, we usually p
stevenjb
2011/11/14 23:31:10
Done.
| |
23 virtual void PreMainMessageLoopStart() OVERRIDE; | 25 virtual void PreMainMessageLoopStart() OVERRIDE; |
26 virtual void PostMainMessageLoopStart() OVERRIDE; | |
27 | |
24 virtual void PreMainMessageLoopRun() OVERRIDE; | 28 virtual void PreMainMessageLoopRun() OVERRIDE; |
25 virtual void PostMainMessageLoopStart() OVERRIDE; | |
26 | 29 |
27 private: | 30 private: |
28 scoped_ptr<chromeos::BrightnessObserver> brightness_observer_; | 31 scoped_ptr<chromeos::BrightnessObserver> brightness_observer_; |
29 scoped_ptr<chromeos::SessionManagerObserver> session_manager_observer_; | 32 scoped_ptr<chromeos::SessionManagerObserver> session_manager_observer_; |
30 | 33 |
31 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); | 34 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); |
32 }; | 35 }; |
33 | 36 |
34 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ | 37 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ |
OLD | NEW |