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

Side by Side Diff: gfx/blit.h

Issue 3034039: FBTF: Minor gfx/ header cleanup. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: win fix Created 10 years, 4 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
« no previous file with comments | « chrome/gpu/gpu_video_layer_glx.h ('k') | gfx/blit_unittest.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) 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 GFX_BLIT_H_
6 #define GFX_BLIT_H_ 6 #define 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 #include "gfx/point.h"
11 #include "gfx/rect.h"
12 10
13 namespace skia { 11 namespace skia {
14 class PlatformCanvas; 12 class PlatformCanvas;
15 } // namespace skia 13 } // namespace skia
16 14
17 namespace gfx { 15 namespace gfx {
18 16
19 class Point; 17 class Point;
20 class Rect; 18 class Rect;
21 19
(...skipping 24 matching lines...) Expand all
46 // 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.
47 // 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
48 // may implement those operations differently. 46 // may implement those operations differently.
49 void ScrollCanvas(skia::PlatformCanvas* canvas, 47 void ScrollCanvas(skia::PlatformCanvas* canvas,
50 const Rect& clip, 48 const Rect& clip,
51 const Point& amount); 49 const Point& amount);
52 50
53 } // namespace gfx 51 } // namespace gfx
54 52
55 #endif // GFX_BLIT_H_ 53 #endif // GFX_BLIT_H_
OLDNEW
« no previous file with comments | « chrome/gpu/gpu_video_layer_glx.h ('k') | gfx/blit_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698