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

Unified Diff: chrome/browser/idle.h

Issue 6359008: Do not show notifications when in fullscreen or screensaver mode.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
Index: chrome/browser/idle.h
===================================================================
--- chrome/browser/idle.h (revision 72388)
+++ chrome/browser/idle.h (working copy)
@@ -12,6 +12,13 @@
IDLE_STATE_LOCKED = 2 // Only available on supported systems.
};
+// For MacOSX, InitIdleMonitor needs to be called first to setup the monitor.
+// StopIdleMonitor should be called if it is not needed any more.
+#if defined(OS_MACOSX)
+void InitIdleMonitor();
+void StopIdleMonitor();
+#endif
+
IdleState CalculateIdleState(unsigned int idle_threshold);
#endif // CHROME_BROWSER_IDLE_H_

Powered by Google App Engine
This is Rietveld 408576698