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

Unified Diff: chrome/browser/fullscreen.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
« no previous file with comments | « no previous file | chrome/browser/fullscreen_linux.cc » ('j') | chrome/browser/fullscreen_linux.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/fullscreen.h
===================================================================
--- chrome/browser/fullscreen.h (revision 0)
+++ chrome/browser/fullscreen.h (revision 0)
@@ -0,0 +1,29 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_FULLSCREEN_H_
+#define CHROME_BROWSER_FULLSCREEN_H_
+#pragma once
+
+#include "build/build_config.h"
+
+#if defined(OS_LINUX)
+#include "ui/base/x/x11_util.h" // For definition of XID.
+#endif
+
+// For MacOSX, InitFullScreenMonitor needs to be called first to setup the
+// monitor. StopFullScreenMonitor should be called if it is not needed any more.
+#if defined(OS_MACOSX)
+void InitFullScreenMonitor();
+void StopFullScreenMonitor();
+#endif
+
+// This helper function is needed by screensaver detection on Linux.
+#if defined(OS_LINUX)
+bool IsX11WindowFullScreen(XID window);
+#endif
+
+bool IsFullScreenMode();
+
+#endif // CHROME_BROWSER_FULLSCREEN_H_
Property changes on: chrome\browser\fullscreen.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « no previous file | chrome/browser/fullscreen_linux.cc » ('j') | chrome/browser/fullscreen_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698