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

Side by Side Diff: chrome/browser/chromeos/dbus/power_manager_client.h

Issue 8400034: chromeos: Add a stub implementation for SensorsSource. (Closed) Base URL: svn://svn.chromium.org/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_DBUS_POWER_MANAGER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DBUS_POWER_MANAGER_CLIENT_H_
6 #define CHROME_BROWSER_CHROMEOS_DBUS_POWER_MANAGER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROMEOS_DBUS_POWER_MANAGER_CLIENT_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/observer_list.h" 9 #include "base/observer_list.h"
10 10
(...skipping 27 matching lines...) Expand all
38 // Decreases the screen brightness. |allow_off| controls whether or not 38 // Decreases the screen brightness. |allow_off| controls whether or not
39 // it's allowed to turn off the back light. 39 // it's allowed to turn off the back light.
40 virtual void DecreaseScreenBrightness(bool allow_off) = 0; 40 virtual void DecreaseScreenBrightness(bool allow_off) = 0;
41 41
42 // Increases the screen brightness. 42 // Increases the screen brightness.
43 virtual void IncreaseScreenBrightness() = 0; 43 virtual void IncreaseScreenBrightness() = 0;
44 44
45 // Creates the instance. 45 // Creates the instance.
46 static PowerManagerClient* Create(dbus::Bus* bus); 46 static PowerManagerClient* Create(dbus::Bus* bus);
47 47
48 PowerManagerClient();
49 virtual ~PowerManagerClient(); 48 virtual ~PowerManagerClient();
50 49
50 protected:
51 // Create() should be used instead.
52 PowerManagerClient();
53
54 private:
51 DISALLOW_COPY_AND_ASSIGN(PowerManagerClient); 55 DISALLOW_COPY_AND_ASSIGN(PowerManagerClient);
52 }; 56 };
53 57
54 } // namespace chromeos 58 } // namespace chromeos
55 59
56 #endif // CHROME_BROWSER_CHROMEOS_DBUS_POWER_MANAGER_CLIENT_H_ 60 #endif // CHROME_BROWSER_CHROMEOS_DBUS_POWER_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/dbus/dbus_thread_manager.cc ('k') | chrome/browser/chromeos/dbus/sensors_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698