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

Side by Side Diff: app/x11_util.cc

Issue 6028009: Move base/thread.h to base/threading, fix up callers to use the new location.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | base/base.gyp » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "app/x11_util.h" 9 #include "app/x11_util.h"
10 10
11 #include <gdk/gdk.h> 11 #include <gdk/gdk.h>
12 #include <gdk/gdkx.h> 12 #include <gdk/gdkx.h>
13 #include <gtk/gtk.h> 13 #include <gtk/gtk.h>
14 14
15 #include <sys/ipc.h> 15 #include <sys/ipc.h>
16 #include <sys/shm.h> 16 #include <sys/shm.h>
17 17
18 #include <list> 18 #include <list>
19 #include <set> 19 #include <set>
20 20
21 #include "base/command_line.h" 21 #include "base/command_line.h"
22 #include "base/logging.h" 22 #include "base/logging.h"
23 #include "base/stringprintf.h" 23 #include "base/stringprintf.h"
24 #include "base/string_number_conversions.h" 24 #include "base/string_number_conversions.h"
25 #include "base/thread.h" 25 #include "base/threading/thread.h"
26 #include "app/x11_util_internal.h" 26 #include "app/x11_util_internal.h"
27 #include "gfx/rect.h" 27 #include "gfx/rect.h"
28 #include "gfx/size.h" 28 #include "gfx/size.h"
29 29
30 namespace x11_util { 30 namespace x11_util {
31 31
32 namespace { 32 namespace {
33 33
34 // Used to cache the XRenderPictFormat for a visual/display pair. 34 // Used to cache the XRenderPictFormat for a visual/display pair.
35 struct CachedPictFormat { 35 struct CachedPictFormat {
(...skipping 835 matching lines...) Expand 10 before | Expand all | Expand 10 after
871 "X Error detected: serial %lu, error_code %u (%s), " 871 "X Error detected: serial %lu, error_code %u (%s), "
872 "request_code %u minor_code %u (%s)", 872 "request_code %u minor_code %u (%s)",
873 error_event->serial, error_event->error_code, error_str, 873 error_event->serial, error_event->error_code, error_str,
874 error_event->request_code, error_event->minor_code, request_str); 874 error_event->request_code, error_event->minor_code, request_str);
875 } 875 }
876 // ---------------------------------------------------------------------------- 876 // ----------------------------------------------------------------------------
877 // End of x11_util_internal.h 877 // End of x11_util_internal.h
878 878
879 879
880 } // namespace x11_util 880 } // namespace x11_util
OLDNEW
« no previous file with comments | « no previous file | base/base.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698