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

Side by Side Diff: ui/gfx/scoped_image.h

Issue 6246027: Move src/gfx/ to src/ui/gfx... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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/gfx/scoped_cg_context_state_mac.h ('k') | ui/gfx/scoped_image_unittest.cc » ('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 #ifndef GFX_SCOPED_IMAGE_H_ 5 #ifndef UI_GFX_SCOPED_IMAGE_H_
6 #define GFX_SCOPED_IMAGE_H_ 6 #define UI_GFX_SCOPED_IMAGE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 #include "gfx/native_widget_types.h" 11 #include "gfx/native_widget_types.h"
12 #include "third_party/skia/include/core/SkBitmap.h" 12 #include "third_party/skia/include/core/SkBitmap.h"
13 13
14 #if defined(OS_LINUX) 14 #if defined(OS_LINUX)
15 #include <glib-object.h> 15 #include <glib-object.h>
16 #elif defined(OS_MACOSX) 16 #elif defined(OS_MACOSX)
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 DISALLOW_COPY_AND_ASSIGN(ScopedImage); 137 DISALLOW_COPY_AND_ASSIGN(ScopedImage);
138 }; 138 };
139 #endif // defined(OS_LINUX) 139 #endif // defined(OS_LINUX)
140 140
141 // Typedef ScopedNativeImage to the default template argument. This allows for 141 // Typedef ScopedNativeImage to the default template argument. This allows for
142 // easy exchange between gfx::NativeImage and a gfx::ScopedNativeImage. 142 // easy exchange between gfx::NativeImage and a gfx::ScopedNativeImage.
143 typedef ScopedImage<> ScopedNativeImage; 143 typedef ScopedImage<> ScopedNativeImage;
144 144
145 } // namespace gfx 145 } // namespace gfx
146 146
147 #endif // GFX_SCOPED_IMAGE_H_ 147 #endif // UI_GFX_SCOPED_IMAGE_H_
OLDNEW
« no previous file with comments | « ui/gfx/scoped_cg_context_state_mac.h ('k') | ui/gfx/scoped_image_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698