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

Unified Diff: chrome/browser/extensions/system/system_api.h

Issue 10905250: chromeos: Use EventRouterForwarder to disptch systemPrivate extension events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unneeded newlines Created 8 years, 3 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 | « no previous file | chrome/browser/extensions/system/system_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..ba100bbb65b1b78caa329e1e3eeff111e3a5dd18 100644
--- a/chrome/browser/extensions/system/system_api.h
+++ b/chrome/browser/extensions/system/system_api.h
@@ -35,9 +35,16 @@ class GetUpdateStatusFunction : public SyncExtensionFunction {
virtual bool RunImpl() OVERRIDE;
};
+// Dispatches systemPrivate.onBrightnessChanged event for extensions.
void DispatchBrightnessChangedEvent(int brightness, bool user_initiated);
+
+// Dispatches systemPrivate.onVolumeChanged event for extensions.
void DispatchVolumeChangedEvent(double volume, bool is_volume_muted);
+
+// Dispatches systemPrivate.onScreenChanged event for extensions.
void DispatchScreenUnlockedEvent();
+
+// Dispatches systemPrivate.onWokeUp event for extensions.
void DispatchWokeUpEvent();
} // namespace extensions
« no previous file with comments | « no previous file | chrome/browser/extensions/system/system_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698