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

Side by Side Diff: ui/gfx/surface/accelerated_surface_mac.h

Issue 8956019: base::Bind: Remove includes of base.bind in header files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mac fix. Created 9 years 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 | « remoting/base/scoped_thread_proxy.cc ('k') | no next file » | 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) 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 UI_GFX_SURFACE_ACCELERATED_SURFACE_MAC_H_ 5 #ifndef UI_GFX_SURFACE_ACCELERATED_SURFACE_MAC_H_
6 #define UI_GFX_SURFACE_ACCELERATED_SURFACE_MAC_H_ 6 #define UI_GFX_SURFACE_ACCELERATED_SURFACE_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #include <CoreFoundation/CoreFoundation.h> 9 #include <CoreFoundation/CoreFoundation.h>
10 10
11 #include "base/bind.h" 11 #include "base/callback.h"
12 #include "base/mac/scoped_cftyperef.h" 12 #include "base/mac/scoped_cftyperef.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "ui/gfx/gl/gl_context.h" 14 #include "ui/gfx/gl/gl_context.h"
15 #include "ui/gfx/gl/gl_surface.h" 15 #include "ui/gfx/gl/gl_surface.h"
16 #include "ui/gfx/gl/gpu_preference.h" 16 #include "ui/gfx/gl/gpu_preference.h"
17 #include "ui/gfx/rect.h" 17 #include "ui/gfx/rect.h"
18 #include "ui/gfx/size.h" 18 #include "ui/gfx/size.h"
19 #include "ui/gfx/surface/surface_export.h" 19 #include "ui/gfx/surface/surface_export.h"
20 #include "ui/gfx/surface/transport_dib.h" 20 #include "ui/gfx/surface/transport_dib.h"
21 21
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 // The FBO and renderbuffer are only allocated if allocate_fbo_ is 173 // The FBO and renderbuffer are only allocated if allocate_fbo_ is
174 // true. 174 // true.
175 GLuint fbo_; 175 GLuint fbo_;
176 GLuint depth_stencil_renderbuffer_; 176 GLuint depth_stencil_renderbuffer_;
177 // Allocate a TransportDIB in the renderer. 177 // Allocate a TransportDIB in the renderer.
178 base::Callback<void(size_t, TransportDIB::Handle*)> dib_alloc_callback_; 178 base::Callback<void(size_t, TransportDIB::Handle*)> dib_alloc_callback_;
179 base::Callback<void(TransportDIB::Id)> dib_free_callback_; 179 base::Callback<void(TransportDIB::Id)> dib_free_callback_;
180 }; 180 };
181 181
182 #endif // UI_GFX_SURFACE_ACCELERATED_SURFACE_MAC_H_ 182 #endif // UI_GFX_SURFACE_ACCELERATED_SURFACE_MAC_H_
OLDNEW
« no previous file with comments | « remoting/base/scoped_thread_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698