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

Side by Side Diff: cc/content_layer_client.h

Issue 11266030: Use gfx:: Geometry types for the resource provider and layer updater classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: uint8 Created 8 years, 1 month 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 | « cc/content_layer.cc ('k') | cc/content_layer_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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 ContentLayerChromiumClient_h 5 #ifndef ContentLayerChromiumClient_h
6 #define ContentLayerChromiumClient_h 6 #define ContentLayerChromiumClient_h
7 7
8 class SkCanvas; 8 class SkCanvas;
9 9
10 namespace gfx {
11 class Rect;
12 class RectF;
13 }
14
10 namespace cc { 15 namespace cc {
11 class FloatRect;
12 class IntRect;
13 16
14 class ContentLayerClient { 17 class ContentLayerClient {
15 public: 18 public:
16 virtual void paintContents(SkCanvas*, const IntRect& clip, FloatRect& opaque ) = 0; 19 virtual void paintContents(SkCanvas*, const gfx::Rect& clip, gfx::RectF& opa que) = 0;
17 20
18 protected: 21 protected:
19 virtual ~ContentLayerClient() { } 22 virtual ~ContentLayerClient() { }
20 }; 23 };
21 24
22 } 25 }
23 26
24 #endif // ContentLayerChromiumClient_h 27 #endif // ContentLayerChromiumClient_h
OLDNEW
« no previous file with comments | « cc/content_layer.cc ('k') | cc/content_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698