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

Unified Diff: mock_backlight.h

Issue 6715014: Display off is done by a callback into backlight controller (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/power_manager.git
Patch Set: Deleted unused lines, 2010->2011 Created 9 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « backlight_interface.h ('k') | powerd_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mock_backlight.h
diff --git a/mock_backlight.h b/mock_backlight.h
index 14a968485f0f0e2381733d023edce08d5292c7b9..625187403753318d1804616a39ebedac81128f63 100644
--- a/mock_backlight.h
+++ b/mock_backlight.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
Simon Que 2011/03/22 22:08:27 Fixed.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
@@ -16,6 +16,8 @@ class MockBacklight : public BacklightInterface {
MOCK_METHOD2(GetBrightness, bool(int64* level, int64* max));
MOCK_METHOD1(GetTargetBrightness, bool(int64* level));
MOCK_METHOD1(SetBrightness, bool(int64 level));
+ MOCK_METHOD2(SetScreenOffFunc, void(SIGNAL_CALLBACK_PTR(void, func),
+ void *data));
};
} // namespace power_manager
« no previous file with comments | « backlight_interface.h ('k') | powerd_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698