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

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

Issue 6246027: Move src/gfx/ to src/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/brush.h ('k') | ui/gfx/canvas.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 GFX_CANVAS_H_ 5 #ifndef UI_GFX_CANVAS_H_
6 #define GFX_CANVAS_H_ 6 #define UI_GFX_CANVAS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/string16.h" 11 #include "base/string16.h"
12 #include "gfx/native_widget_types.h" 12 #include "gfx/native_widget_types.h"
13 // TODO(beng): remove this include when we no longer depend on SkTypes. 13 // TODO(beng): remove this include when we no longer depend on SkTypes.
14 #include "skia/ext/platform_canvas.h" 14 #include "skia/ext/platform_canvas.h"
15 15
16 namespace gfx { 16 namespace gfx {
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 228
229 // Returns the rectangle that is invalid. 229 // Returns the rectangle that is invalid.
230 virtual gfx::Rect GetInvalidRect() const = 0; 230 virtual gfx::Rect GetInvalidRect() const = 0;
231 231
232 // Returns the underlying Canvas. 232 // Returns the underlying Canvas.
233 virtual Canvas* AsCanvas() = 0; 233 virtual Canvas* AsCanvas() = 0;
234 }; 234 };
235 235
236 } // namespace gfx; 236 } // namespace gfx;
237 237
238 #endif // GFX_CANVAS_H_ 238 #endif // UI_GFX_CANVAS_H_
OLDNEW
« no previous file with comments | « ui/gfx/brush.h ('k') | ui/gfx/canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698