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

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 Delta from patch set Stats (+195 lines, -22 lines) Patch
M SConstruct.chromiumos View 1 chunk +23 lines, -21 lines 0 comments Download
A chromeos_brightness.h View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
A chromeos_brightness.cc View 1 2 3 4 1 chunk +128 lines, -0 lines 0 comments Download
M chromeos_cros_api.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M load.cc View 3 chunks +12 lines, -0 lines 0 comments Download

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
This is Rietveld 408576698