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

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

Issue 16431009: Use a direct include of strings headers in ui/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 | « ui/base/win/window_impl.cc ('k') | ui/gfx/rect_base_impl.h » ('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 // This file defines utility functions for X11 (Linux only). This code has been 5 // This file defines utility functions for X11 (Linux only). This code has been
6 // ported from XCB since we can't use XCB on Ubuntu while its 32-bit support 6 // ported from XCB since we can't use XCB on Ubuntu while its 32-bit support
7 // remains woefully incomplete. 7 // remains woefully incomplete.
8 8
9 #include "ui/base/x/x11_util.h" 9 #include "ui/base/x/x11_util.h"
10 10
11 #include <ctype.h> 11 #include <ctype.h>
12 #include <sys/ipc.h> 12 #include <sys/ipc.h>
13 #include <sys/shm.h> 13 #include <sys/shm.h>
14 14
15 #include <list> 15 #include <list>
16 #include <map> 16 #include <map>
17 #include <utility> 17 #include <utility>
18 #include <vector> 18 #include <vector>
19 19
20 #include <X11/extensions/shape.h> 20 #include <X11/extensions/shape.h>
21 #include <X11/extensions/XInput2.h> 21 #include <X11/extensions/XInput2.h>
22 22
23 #include "base/bind.h" 23 #include "base/bind.h"
24 #include "base/command_line.h" 24 #include "base/command_line.h"
25 #include "base/logging.h" 25 #include "base/logging.h"
26 #include "base/memory/scoped_ptr.h" 26 #include "base/memory/scoped_ptr.h"
27 #include "base/memory/singleton.h" 27 #include "base/memory/singleton.h"
28 #include "base/message_loop.h" 28 #include "base/message_loop.h"
29 #include "base/metrics/histogram.h" 29 #include "base/metrics/histogram.h"
30 #include "base/string_number_conversions.h" 30 #include "base/strings/string_number_conversions.h"
31 #include "base/string_util.h" 31 #include "base/strings/string_util.h"
32 #include "base/stringprintf.h" 32 #include "base/strings/stringprintf.h"
33 #include "base/sys_byteorder.h" 33 #include "base/sys_byteorder.h"
34 #include "base/threading/thread.h" 34 #include "base/threading/thread.h"
35 #include "ui/base/events/event_utils.h" 35 #include "ui/base/events/event_utils.h"
36 #include "ui/base/keycodes/keyboard_code_conversion_x.h" 36 #include "ui/base/keycodes/keyboard_code_conversion_x.h"
37 #include "ui/base/touch/touch_factory_x11.h" 37 #include "ui/base/touch/touch_factory_x11.h"
38 #include "ui/base/x/valuators.h" 38 #include "ui/base/x/valuators.h"
39 #include "ui/base/x/x11_util_internal.h" 39 #include "ui/base/x/x11_util_internal.h"
40 #include "ui/gfx/point_conversions.h" 40 #include "ui/gfx/point_conversions.h"
41 #include "ui/gfx/rect.h" 41 #include "ui/gfx/rect.h"
42 #include "ui/gfx/size.h" 42 #include "ui/gfx/size.h"
(...skipping 1513 matching lines...) Expand 10 before | Expand all | Expand 10 after
1556 << "request_code " << static_cast<int>(error_event.request_code) << ", " 1556 << "request_code " << static_cast<int>(error_event.request_code) << ", "
1557 << "minor_code " << static_cast<int>(error_event.minor_code) 1557 << "minor_code " << static_cast<int>(error_event.minor_code)
1558 << " (" << request_str << ")"; 1558 << " (" << request_str << ")";
1559 } 1559 }
1560 1560
1561 // ---------------------------------------------------------------------------- 1561 // ----------------------------------------------------------------------------
1562 // End of x11_util_internal.h 1562 // End of x11_util_internal.h
1563 1563
1564 1564
1565 } // namespace ui 1565 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/win/window_impl.cc ('k') | ui/gfx/rect_base_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698