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

Unified Diff: ui/base/win/lock_state.h

Issue 140453002: Repaint windows on screen unlock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « chrome/browser/idle_win.cc ('k') | ui/base/win/lock_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/win/lock_state.h
diff --git a/ui/base/win/lock_state.h b/ui/base/win/lock_state.h
new file mode 100644
index 0000000000000000000000000000000000000000..b99f358bea6439924e7169550e0b4f87e4dfd326
--- /dev/null
+++ b/ui/base/win/lock_state.h
@@ -0,0 +1,18 @@
+// Copyright (c) 2014 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 UI_BASE_WIN_LOCK_STATE_H_
+#define UI_BASE_WIN_LOCK_STATE_H_
+
+#include "base/basictypes.h"
+#include "ui/base/ui_base_export.h"
+
+namespace ui {
+
+// Returns true if the screen is currently locked.
+UI_BASE_EXPORT bool IsWorkstationLocked();
+
+} // namespace ui
+
+#endif // UI_BASE_WIN_LOCK_STATE_H_
« no previous file with comments | « chrome/browser/idle_win.cc ('k') | ui/base/win/lock_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698