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_2_H_ | 5 #ifndef GFX_CANVAS_2_H_ |
6 #define GFX_CANVAS_2_H_ | 6 #define GFX_CANVAS_2_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "gfx/native_widget_types.h" | 10 #include "gfx/native_widget_types.h" |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 // Returns the rectangle that is invalid. | 192 // Returns the rectangle that is invalid. |
193 virtual gfx::Rect GetInvalidRect() const = 0; | 193 virtual gfx::Rect GetInvalidRect() const = 0; |
194 | 194 |
195 // Returns the underlying Canvas2. | 195 // Returns the underlying Canvas2. |
196 virtual Canvas2* AsCanvas2() = 0; | 196 virtual Canvas2* AsCanvas2() = 0; |
197 }; | 197 }; |
198 | 198 |
199 } // namespace gfx; | 199 } // namespace gfx; |
200 | 200 |
201 #endif // GFX_CANVAS_2_H_ | 201 #endif // GFX_CANVAS_2_H_ |
OLD | NEW |