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

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

Issue 6312156: Change includes of gfx/* to 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/canvas.cc ('k') | ui/gfx/canvas_direct2d.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 UI_GFX_CANVAS_DIRECT2D_H_ 5 #ifndef UI_GFX_CANVAS_DIRECT2D_H_
6 #define UI_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 "ui/gfx/canvas.h"
15 15
16 namespace gfx { 16 namespace gfx {
17 17
18 class CanvasDirect2D : public Canvas { 18 class CanvasDirect2D : public Canvas {
19 public: 19 public:
20 // Creates an empty Canvas. 20 // Creates an empty Canvas.
21 explicit CanvasDirect2D(ID2D1RenderTarget* rt); 21 explicit CanvasDirect2D(ID2D1RenderTarget* rt);
22 virtual ~CanvasDirect2D(); 22 virtual ~CanvasDirect2D();
23 23
24 // Retrieves the application's D2D1 Factory. 24 // Retrieves the application's D2D1 Factory.
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // UI_GFX_CANVAS_DIRECT2D_H_ 112 #endif // UI_GFX_CANVAS_DIRECT2D_H_
OLDNEW
« no previous file with comments | « ui/gfx/canvas.cc ('k') | ui/gfx/canvas_direct2d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698