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

Side by Side Diff: ui/base/x/x11_util.h

Issue 12377035: Remove GetOutputNames from x11_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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 | « ash/display/display_manager.cc ('k') | ui/base/x/x11_util.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_BASE_X_X11_UTIL_H_ 5 #ifndef UI_BASE_X_X11_UTIL_H_
6 #define UI_BASE_X_X11_UTIL_H_ 6 #define UI_BASE_X_X11_UTIL_H_
7 7
8 // This file declares utility functions for X11 (Linux only). 8 // This file declares utility functions for X11 (Linux only).
9 // 9 //
10 // These functions do not require the Xlib headers to be included (which is why 10 // These functions do not require the Xlib headers to be included (which is why
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 uint16* manufacturer_id, 296 uint16* manufacturer_id,
297 uint16* product_code, 297 uint16* product_code,
298 std::string* human_readable_name); 298 std::string* human_readable_name);
299 299
300 // Parses |prop| as EDID data and stores the overscan flag to |flag|. Returns 300 // Parses |prop| as EDID data and stores the overscan flag to |flag|. Returns
301 // true if the flag is found. This is exported for x11_util_unittest.cc. 301 // true if the flag is found. This is exported for x11_util_unittest.cc.
302 UI_EXPORT bool ParseOutputOverscanFlag(const unsigned char* prop, 302 UI_EXPORT bool ParseOutputOverscanFlag(const unsigned char* prop,
303 unsigned long nitems, 303 unsigned long nitems,
304 bool* flag); 304 bool* flag);
305 305
306 // Gets the name of outputs given by |output_ids|.
307 UI_EXPORT std::vector<std::string> GetOutputNames(
308 const std::vector<XID>& output_ids);
309
310 enum WindowManagerName { 306 enum WindowManagerName {
311 WM_UNKNOWN, 307 WM_UNKNOWN,
312 WM_BLACKBOX, 308 WM_BLACKBOX,
313 WM_CHROME_OS, 309 WM_CHROME_OS,
314 WM_COMPIZ, 310 WM_COMPIZ,
315 WM_ENLIGHTENMENT, 311 WM_ENLIGHTENMENT,
316 WM_ICE_WM, 312 WM_ICE_WM,
317 WM_KWIN, 313 WM_KWIN,
318 WM_METACITY, 314 WM_METACITY,
319 WM_MUTTER, 315 WM_MUTTER,
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 private: 400 private:
405 ::Cursor cursor_; 401 ::Cursor cursor_;
406 Display* display_; 402 Display* display_;
407 403
408 DISALLOW_COPY_AND_ASSIGN(XScopedCursor); 404 DISALLOW_COPY_AND_ASSIGN(XScopedCursor);
409 }; 405 };
410 406
411 } // namespace ui 407 } // namespace ui
412 408
413 #endif // UI_BASE_X_X11_UTIL_H_ 409 #endif // UI_BASE_X_X11_UTIL_H_
OLDNEW
« no previous file with comments | « ash/display/display_manager.cc ('k') | ui/base/x/x11_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698