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

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

Issue 392013005: [#1] Delete reduntdant 19 header files in ui/gfx (8 of 19 by this) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sorted includes Created 6 years, 5 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
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
11 // we use a void* for Visual*). The Xlib headers are highly polluting so we try 11 // we use a void* for Visual*). The Xlib headers are highly polluting so we try
12 // hard to limit their spread into the rest of the code. 12 // hard to limit their spread into the rest of the code.
13 13
14 #include <string> 14 #include <string>
15 #include <vector> 15 #include <vector>
16 16
17 #include "base/basictypes.h" 17 #include "base/basictypes.h"
18 #include "base/event_types.h" 18 #include "base/event_types.h"
19 #include "base/memory/ref_counted_memory.h" 19 #include "base/memory/ref_counted_memory.h"
20 #include "ui/base/ui_base_export.h" 20 #include "ui/base/ui_base_export.h"
21 #include "ui/events/event_constants.h" 21 #include "ui/events/event_constants.h"
22 #include "ui/events/keycodes/keyboard_codes.h" 22 #include "ui/events/keycodes/keyboard_codes.h"
23 #include "ui/gfx/point.h" 23 #include "ui/gfx/geometry/point.h"
24 #include "ui/gfx/x/x11_types.h" 24 #include "ui/gfx/x/x11_types.h"
25 25
26 typedef unsigned long XSharedMemoryId; // ShmSeg in the X headers. 26 typedef unsigned long XSharedMemoryId; // ShmSeg in the X headers.
27 typedef unsigned long Cursor; 27 typedef unsigned long Cursor;
28 typedef struct _XcursorImage XcursorImage; 28 typedef struct _XcursorImage XcursorImage;
29 typedef union _XEvent XEvent; 29 typedef union _XEvent XEvent;
30 30
31 namespace gfx { 31 namespace gfx {
32 class Canvas; 32 class Canvas;
33 class Point; 33 class Point;
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 UI_BASE_EXPORT void ResetXCursorCache(); 352 UI_BASE_EXPORT void ResetXCursorCache();
353 353
354 // Returns the cached XcursorImage for |cursor|. 354 // Returns the cached XcursorImage for |cursor|.
355 UI_BASE_EXPORT const XcursorImage* GetCachedXcursorImage(::Cursor cursor); 355 UI_BASE_EXPORT const XcursorImage* GetCachedXcursorImage(::Cursor cursor);
356 356
357 } // namespace test 357 } // namespace test
358 358
359 } // namespace ui 359 } // namespace ui
360 360
361 #endif // UI_BASE_X_X11_UTIL_H_ 361 #endif // UI_BASE_X_X11_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698