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

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

Issue 8387039: Move content_restriction.h and main_function_params.h to content/public/common, and put them in t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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 } // namespace chromeos 14 } // namespace chromeos
15 15
16 class ChromeBrowserMainPartsChromeos : public ChromeBrowserMainPartsLinux { 16 class ChromeBrowserMainPartsChromeos : public ChromeBrowserMainPartsLinux {
17 public: 17 public:
18 explicit ChromeBrowserMainPartsChromeos(const MainFunctionParams& parameters); 18 explicit ChromeBrowserMainPartsChromeos(
19 const content::MainFunctionParams& parameters);
19 virtual ~ChromeBrowserMainPartsChromeos(); 20 virtual ~ChromeBrowserMainPartsChromeos();
20 21
21 virtual void PreEarlyInitialization() OVERRIDE; 22 virtual void PreEarlyInitialization() OVERRIDE;
22 virtual void PreMainMessageLoopStart() OVERRIDE; 23 virtual void PreMainMessageLoopStart() OVERRIDE;
23 virtual void PreMainMessageLoopRun() OVERRIDE; 24 virtual void PreMainMessageLoopRun() OVERRIDE;
24 virtual void PostMainMessageLoopStart() OVERRIDE; 25 virtual void PostMainMessageLoopStart() OVERRIDE;
25 26
26 private: 27 private:
27 scoped_ptr<chromeos::BrightnessObserver> brightness_observer_; 28 scoped_ptr<chromeos::BrightnessObserver> brightness_observer_;
28 scoped_ptr<chromeos::SessionManagerObserver> session_manager_observer_; 29 scoped_ptr<chromeos::SessionManagerObserver> session_manager_observer_;
29 30
30 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); 31 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos);
31 }; 32 };
32 33
33 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ 34 #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