OLD | NEW |
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_CANVAS_DIRECT2D_H_ | 5 #ifndef UI_GFX_CANVAS_DIRECT2D_H_ |
6 #define GFX_CANVAS_DIRECT2D_H_ | 6 #define UI_GFX_CANVAS_DIRECT2D_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <d2d1.h> | 9 #include <d2d1.h> |
10 | 10 |
11 #include <stack> | 11 #include <stack> |
12 | 12 |
13 #include "base/scoped_comptr_win.h" | 13 #include "base/scoped_comptr_win.h" |
14 #include "gfx/canvas.h" | 14 #include "gfx/canvas.h" |
15 | 15 |
16 namespace gfx { | 16 namespace gfx { |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 // called. | 102 // called. |
103 int clip_count; | 103 int clip_count; |
104 }; | 104 }; |
105 std::stack<RenderState> state_; | 105 std::stack<RenderState> state_; |
106 | 106 |
107 DISALLOW_COPY_AND_ASSIGN(CanvasDirect2D); | 107 DISALLOW_COPY_AND_ASSIGN(CanvasDirect2D); |
108 }; | 108 }; |
109 | 109 |
110 } // namespace gfx; | 110 } // namespace gfx; |
111 | 111 |
112 #endif // GFX_CANVAS_DIRECT2D_H_ | 112 #endif // UI_GFX_CANVAS_DIRECT2D_H_ |
OLD | NEW |