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

Side by Side Diff: content/common/gpu/x_util.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_GPU_X_UTIL_H_ 5 #ifndef CHROME_GPU_X_UTIL_H_
6 #define CHROME_GPU_X_UTIL_H_ 6 #define CHROME_GPU_X_UTIL_H_
7 #pragma once
8 7
9 // Some X-Windows specific stuff. This can be included on any platform, and will 8 // Some X-Windows specific stuff. This can be included on any platform, and will
10 // be a NOP on non-Linux ones. 9 // be a NOP on non-Linux ones.
11 10
12 #include "build/build_config.h" 11 #include "build/build_config.h"
13 #include "content/common/gpu/gpu_config.h" 12 #include "content/common/gpu/gpu_config.h"
14 13
15 #if defined(USE_X11) 14 #if defined(USE_X11)
16 15
17 // Forward declares ------------------------------------------------------------ 16 // Forward declares ------------------------------------------------------------
(...skipping 20 matching lines...) Expand all
38 // scoped_ptr_mallox<XVisualInfo, ScopedPtrXFree> foo(...); 37 // scoped_ptr_mallox<XVisualInfo, ScopedPtrXFree> foo(...);
39 // where "XVisualInfo" is any X type that is freed with XFree. 38 // where "XVisualInfo" is any X type that is freed with XFree.
40 class ScopedPtrXFree { 39 class ScopedPtrXFree {
41 public: 40 public:
42 void operator()(void* x) const; 41 void operator()(void* x) const;
43 }; 42 };
44 43
45 #endif // USE_X11 44 #endif // USE_X11
46 45
47 #endif // CHROME_GPU_X_UTIL_H_ 46 #endif // CHROME_GPU_X_UTIL_H_
OLDNEW
« no previous file with comments | « content/common/gpu/texture_image_transport_surface.h ('k') | content/common/indexed_db/indexed_db_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698