Chromium Code Reviews| Index: chrome/browser/extensions/system/system_api.h |
| diff --git a/chrome/browser/extensions/system/system_api.h b/chrome/browser/extensions/system/system_api.h |
| index 5e26978d8aa8107d4d47752836e0c5b29a1b0560..81cfb0c314aec993ba74273a1d2f552bd4822eef 100644 |
| --- a/chrome/browser/extensions/system/system_api.h |
| +++ b/chrome/browser/extensions/system/system_api.h |
| @@ -35,9 +35,22 @@ class GetUpdateStatusFunction : public SyncExtensionFunction { |
| virtual bool RunImpl() OVERRIDE; |
| }; |
| -void DispatchBrightnessChangedEvent(int brightness, bool user_initiated); |
| -void DispatchVolumeChangedEvent(double volume, bool is_volume_muted); |
| +// Dispatches systemPrivate.onBrightnessChanged event for extensions. |
| +// |profile| is used to get extensions::EventRouter. |
|
Mihai Parparita -not on Chrome
2012/09/13 19:49:52
|profile| is no longer a parameter.
satorux1
2012/09/13 19:52:08
good catch!
hashimoto
2012/09/13 19:52:26
Oops, done.
|
| +void DispatchBrightnessChangedEvent(int brightness, |
| + bool user_initiated); |
| + |
| +// Dispatches systemPrivate.onVolumeChanged event for extensions. |
| +// |profile| is used to get extensions::EventRouter. |
| +void DispatchVolumeChangedEvent(double volume, |
| + bool is_volume_muted); |
| + |
| +// Dispatches systemPrivate.onScreenChanged event for extensions. |
| +// |profile| is used to get extensions::EventRouter. |
| void DispatchScreenUnlockedEvent(); |
| + |
| +// Dispatches systemPrivate.onWokeUp event for extensions. |
| +// |profile| is used to get extensions::EventRouter. |
| void DispatchWokeUpEvent(); |
| } // namespace extensions |