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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/fullscreen_linux.cc » ('j') | chrome/browser/fullscreen_linux.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_FULLSCREEN_H_
6 #define CHROME_BROWSER_FULLSCREEN_H_
7 #pragma once
8
9 #include "build/build_config.h"
10
11 #if defined(OS_LINUX)
12 #include "ui/base/x/x11_util.h" // For definition of XID.
13 #endif
14
15 // For MacOSX, InitFullScreenMonitor needs to be called first to setup the
16 // monitor. StopFullScreenMonitor should be called if it is not needed any more.
17 #if defined(OS_MACOSX)
18 void InitFullScreenMonitor();
19 void StopFullScreenMonitor();
20 #endif
21
22 // This helper function is needed by screensaver detection on Linux.
23 #if defined(OS_LINUX)
24 bool IsX11WindowFullScreen(XID window);
25 #endif
26
27 bool IsFullScreenMode();
28
29 #endif // CHROME_BROWSER_FULLSCREEN_H_
OLDNEW
« 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