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

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

Issue 8699008: Use callback_forward.h instead of callback.h where possible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« media/base/mock_reader.h ('K') | « media/base/mock_reader.h ('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_WIN_H_ 5 #ifndef UI_GFX_SURFACE_ACCELERATED_SURFACE_WIN_H_
6 #define UI_GFX_SURFACE_ACCELERATED_SURFACE_WIN_H_ 6 #define UI_GFX_SURFACE_ACCELERATED_SURFACE_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <d3d9.h> 9 #include <d3d9.h>
10 10
11 #include "base/callback.h" 11 #include "base/callback_forward.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/message_loop_proxy.h" 13 #include "base/message_loop_proxy.h"
14 #include "base/synchronization/lock.h" 14 #include "base/synchronization/lock.h"
15 #include "base/win/scoped_comptr.h" 15 #include "base/win/scoped_comptr.h"
16 #include "ui/gfx/native_widget_types.h" 16 #include "ui/gfx/native_widget_types.h"
17 #include "ui/gfx/size.h" 17 #include "ui/gfx/size.h"
18 #include "ui/gfx/surface/surface_export.h" 18 #include "ui/gfx/surface/surface_export.h"
19 19
20 class SURFACE_EXPORT AcceleratedSurface 20 class SURFACE_EXPORT AcceleratedSurface
21 : public base::RefCountedThreadSafe<AcceleratedSurface> { 21 : public base::RefCountedThreadSafe<AcceleratedSurface> {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // texture again. 69 // texture again.
70 base::win::ScopedComPtr<IDirect3DQuery9> query_; 70 base::win::ScopedComPtr<IDirect3DQuery9> query_;
71 71
72 // The current size of the swap chain. 72 // The current size of the swap chain.
73 gfx::Size size_; 73 gfx::Size size_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(AcceleratedSurface); 75 DISALLOW_COPY_AND_ASSIGN(AcceleratedSurface);
76 }; 76 };
77 77
78 #endif // UI_GFX_SURFACE_ACCELERATED_SURFACE_WIN_H_ 78 #endif // UI_GFX_SURFACE_ACCELERATED_SURFACE_WIN_H_
OLDNEW
« media/base/mock_reader.h ('K') | « media/base/mock_reader.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698