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

Unified Diff: ui/base/x/x11_util.h

Issue 264713007: Add unittests for X11TopmostWindowFinder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | ui/base/x/x11_util.cc » ('j') | ui/views/test/x11_property_change_waiter.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/x/x11_util.h
diff --git a/ui/base/x/x11_util.h b/ui/base/x/x11_util.h
index e80d6cb8c875871f3e6a7c79ad6e0a9f3c567f41..479de1ceaca9697d63d35e9f17f67d4c32d26ae3 100644
--- a/ui/base/x/x11_util.h
+++ b/ui/base/x/x11_util.h
@@ -93,6 +93,9 @@ UI_BASE_EXPORT void HideHostCursor();
// Returns an invisible cursor.
UI_BASE_EXPORT ::Cursor CreateInvisibleCursor();
+// Sets whether |window| should use the OS window frame.
+UI_BASE_EXPORT void SetUseOSWindowFrame(XID window, bool use_os_window_frame);
+
// These functions do not cache their results --------------------------
// Returns true if the shape extension is supported.
@@ -169,6 +172,10 @@ UI_BASE_EXPORT bool SetIntArrayProperty(XID window,
const std::string& name,
const std::string& type,
const std::vector<int>& value);
+UI_BASE_EXPORT bool SetAtomProperty(XID window,
+ const std::string& name,
+ const std::string& type,
+ Atom value);
UI_BASE_EXPORT bool SetAtomArrayProperty(XID window,
const std::string& name,
const std::string& type,
« no previous file with comments | « no previous file | ui/base/x/x11_util.cc » ('j') | ui/views/test/x11_property_change_waiter.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698