OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_BLIT_H_ | 5 #ifndef UI_GFX_BLIT_H_ |
6 #define GFX_BLIT_H_ | 6 #define UI_GFX_BLIT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "gfx/native_widget_types.h" | 9 #include "gfx/native_widget_types.h" |
10 | 10 |
11 namespace skia { | 11 namespace skia { |
12 class PlatformCanvas; | 12 class PlatformCanvas; |
13 } // namespace skia | 13 } // namespace skia |
14 | 14 |
15 namespace gfx { | 15 namespace gfx { |
16 | 16 |
(...skipping 26 matching lines...) Expand all Loading... |
43 | 43 |
44 // Scrolls the given subset of the given canvas by the given amount. | 44 // Scrolls the given subset of the given canvas by the given amount. |
45 // The canvas should not have a clip or a transform applied, since platforms | 45 // The canvas should not have a clip or a transform applied, since platforms |
46 // may implement those operations differently. | 46 // may implement those operations differently. |
47 void ScrollCanvas(skia::PlatformCanvas* canvas, | 47 void ScrollCanvas(skia::PlatformCanvas* canvas, |
48 const Rect& clip, | 48 const Rect& clip, |
49 const Point& amount); | 49 const Point& amount); |
50 | 50 |
51 } // namespace gfx | 51 } // namespace gfx |
52 | 52 |
53 #endif // GFX_BLIT_H_ | 53 #endif // UI_GFX_BLIT_H_ |
OLD | NEW |