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

Unified Diff: app/x11_util.h

Issue 661237: This adds in the ability for Chrome to generate windows with snapshots of all... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 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 | « app/surface/transport_dib.h ('k') | app/x11_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/x11_util.h
===================================================================
--- app/x11_util.h (revision 45523)
+++ app/x11_util.h (working copy)
@@ -78,9 +78,11 @@
bool IsWindowVisible(XID window);
// Returns the bounds of |window|.
bool GetWindowRect(XID window, gfx::Rect* rect);
-// Get the value of an int or string property. On success, true is returned and
-// the value is stored in |value|.
+// Get the value of an int, int array, or string property. On
+// success, true is returned and the value is stored in |value|.
bool GetIntProperty(XID window, const std::string& property_name, int* value);
+bool GetIntArrayProperty(XID window, const std::string& property_name,
+ std::vector<int>* value);
bool GetStringProperty(
XID window, const std::string& property_name, std::string* value);
« no previous file with comments | « app/surface/transport_dib.h ('k') | app/x11_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698