Chromium Code Reviews

Side by Side Diff: app\gfx\gtk_util.h

Issue 259047: Move classes depending on Skia out of base/gfx and into app/gfx. Rename... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « app/win_util.cc ('k') | 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 BASE_GFX_GTK_UTIL_H_ 5 #ifndef BASE_GFX_GTK_UTIL_H_
6 #define BASE_GFX_GTK_UTIL_H_ 6 #define BASE_GFX_GTK_UTIL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 47 matching lines...)
58 58
59 // It's not legal C++ to have a templatized typedefs, so we wrap it in a 59 // It's not legal C++ to have a templatized typedefs, so we wrap it in a
60 // struct. When using this, you need to include ::Type. E.g., 60 // struct. When using this, you need to include ::Type. E.g.,
61 // ScopedGObject<GdkPixbufLoader>::Type loader(gdk_pixbuf_loader_new()); 61 // ScopedGObject<GdkPixbufLoader>::Type loader(gdk_pixbuf_loader_new());
62 template<class T> 62 template<class T>
63 struct ScopedGObject { 63 struct ScopedGObject {
64 typedef scoped_ptr_malloc<T, GObjectUnrefer<T> > Type; 64 typedef scoped_ptr_malloc<T, GObjectUnrefer<T> > Type;
65 }; 65 };
66 66
67 #endif // BASE_GFX_GTK_UTIL_H_ 67 #endif // BASE_GFX_GTK_UTIL_H_
OLDNEW
« no previous file with comments | « app/win_util.cc ('k') | base/base.gyp » ('j') | no next file with comments »

Powered by Google App Engine