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

Side by Side Diff: chrome/browser/screensaver_window_finder_gtk.h

Issue 7945014: Applied review comments from oshima for CL 7850026. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/process_singleton.h ('k') | chrome/browser/screensaver_window_finder_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SCREENSAVER_WINDOW_FINDER_LINUX_H_ 5 #ifndef CHROME_BROWSER_SCREENSAVER_WINDOW_FINDER_GTK_H_
6 #define CHROME_BROWSER_SCREENSAVER_WINDOW_FINDER_LINUX_H_ 6 #define CHROME_BROWSER_SCREENSAVER_WINDOW_FINDER_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ui/base/x/x11_util.h" 9 #include "ui/base/x/x11_util.h"
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 12
13 class ScreensaverWindowFinder : public ui::EnumerateWindowsDelegate { 13 class ScreensaverWindowFinder : public ui::EnumerateWindowsDelegate {
14 public: 14 public:
15 static bool ScreensaverWindowExists(); 15 static bool ScreensaverWindowExists();
16 16
17 protected: 17 protected:
18 virtual bool ShouldStopIterating(XID window); 18 virtual bool ShouldStopIterating(XID window);
19 19
20 private: 20 private:
21 ScreensaverWindowFinder(); 21 ScreensaverWindowFinder();
22 22
23 bool IsScreensaverWindow(XID window) const; 23 bool IsScreensaverWindow(XID window) const;
24 24
25 bool exists_; 25 bool exists_;
26 26
27 DISALLOW_COPY_AND_ASSIGN(ScreensaverWindowFinder); 27 DISALLOW_COPY_AND_ASSIGN(ScreensaverWindowFinder);
28 }; 28 };
29 29
30 30
31 #endif // CHROME_BROWSER_SCREENSAVER_WINDOW_FINDER_LINUX_H_ 31 #endif // CHROME_BROWSER_SCREENSAVER_WINDOW_FINDER_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/process_singleton.h ('k') | chrome/browser/screensaver_window_finder_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698