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

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

Issue 10207030: Asynchronously load wallpapers when user pod is selected. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits Created 8 years, 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 DesktopBackgroundObserver;
14 class PowerButtonObserver; 13 class PowerButtonObserver;
15 class PowerStateOverride; 14 class PowerStateOverride;
16 class ResumeObserver; 15 class ResumeObserver;
17 class ScreenDimmingObserver; 16 class ScreenDimmingObserver;
18 class ScreenLockObserver; 17 class ScreenLockObserver;
19 class SessionManagerObserver; 18 class SessionManagerObserver;
20 class VideoPropertyWriter; 19 class VideoPropertyWriter;
21 } // namespace chromeos 20 } // namespace chromeos
22 21
23 class ChromeBrowserMainPartsChromeos : public ChromeBrowserMainPartsLinux { 22 class ChromeBrowserMainPartsChromeos : public ChromeBrowserMainPartsLinux {
(...skipping 18 matching lines...) Expand all
42 virtual void PostMainMessageLoopRun() OVERRIDE; 41 virtual void PostMainMessageLoopRun() OVERRIDE;
43 42
44 // Set up field trial for low memory headroom settings. 43 // Set up field trial for low memory headroom settings.
45 void SetupLowMemoryHeadroomFieldTrial(); 44 void SetupLowMemoryHeadroomFieldTrial();
46 45
47 private: 46 private:
48 scoped_ptr<chromeos::BrightnessObserver> brightness_observer_; 47 scoped_ptr<chromeos::BrightnessObserver> brightness_observer_;
49 scoped_ptr<chromeos::ResumeObserver> resume_observer_; 48 scoped_ptr<chromeos::ResumeObserver> resume_observer_;
50 scoped_ptr<chromeos::ScreenLockObserver> screen_lock_observer_; 49 scoped_ptr<chromeos::ScreenLockObserver> screen_lock_observer_;
51 scoped_ptr<chromeos::SessionManagerObserver> session_manager_observer_; 50 scoped_ptr<chromeos::SessionManagerObserver> session_manager_observer_;
52 scoped_ptr<chromeos::DesktopBackgroundObserver> desktop_background_observer_;
53 scoped_ptr<chromeos::PowerButtonObserver> power_button_observer_; 51 scoped_ptr<chromeos::PowerButtonObserver> power_button_observer_;
54 scoped_ptr<chromeos::PowerStateOverride> power_state_override_; 52 scoped_ptr<chromeos::PowerStateOverride> power_state_override_;
55 scoped_ptr<chromeos::VideoPropertyWriter> video_property_writer_; 53 scoped_ptr<chromeos::VideoPropertyWriter> video_property_writer_;
56 scoped_ptr<chromeos::ScreenDimmingObserver> screen_dimming_observer_; 54 scoped_ptr<chromeos::ScreenDimmingObserver> screen_dimming_observer_;
57 55
58 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); 56 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos);
59 }; 57 };
60 58
61 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ 59 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698