Chromium Code Reviews

Issue 5640003: libcros: Watch for display brightness changes. (Closed)

Created:
10 years ago by Daniel Erat
Modified:
9 years, 7 months ago
Reviewers:
Charlie Lee
CC:
chromium-os-reviews_chromium.org, DaveMoore
Visibility:
Public.

Description

libcros: Watch for display brightness changes. This adds a function that Chrome can use to get notified when the power manager sends a D-Bus signal saying that the user has changed the display's brightness. BUG=chromium-os:4816 TEST=built and installed this and a corresponding Chrome patch; then checked that Chrome is notified when I press the brightness keys Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=7537f1e

Patch Set 1 #

Patch Set 2 : increment version #

Patch Set 3 : update a comment #

Patch Set 4 : replace some CHECK()s with LOG(DFATAL) #

Patch Set 5 : update comment #

Unified diffs Side-by-side diffs Stats (+195 lines, -22 lines)
M SConstruct.chromiumos View 1 chunk +23 lines, -21 lines 0 comments
A chromeos_brightness.h View 1 chunk +30 lines, -0 lines 0 comments
A chromeos_brightness.cc View 1 chunk +128 lines, -0 lines 0 comments
M chromeos_cros_api.h View 1 chunk +2 lines, -1 line 0 comments
M load.cc View 3 chunks +12 lines, -0 lines 0 comments

Messages

Total messages: 2 (0 generated)
Daniel Erat
10 years ago (2010-12-07 01:59:37 UTC) #1
Charlie Lee
10 years ago (2010-12-07 18:59:06 UTC) #2
LGTM

Powered by Google App Engine