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

Side by Side Diff: webkit/compositor_bindings/web_content_layer_impl.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/video_layer_impl.cc ('k') | webkit/compositor_bindings/web_content_layer_impl.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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 WebContentLayerImpl_h 5 #ifndef WebContentLayerImpl_h
6 #define WebContentLayerImpl_h 6 #define WebContentLayerImpl_h
7 7
8 // FIXME: WebContentLayer should forward declare this 8 // FIXME: WebContentLayer should forward declare this
9 namespace WebKit { 9 namespace WebKit {
10 class WebLayer; 10 class WebLayer;
(...skipping 23 matching lines...) Expand all
34 virtual void setBoundsContainPageScale(bool) OVERRIDE; 34 virtual void setBoundsContainPageScale(bool) OVERRIDE;
35 virtual bool boundsContainPageScale() const OVERRIDE; 35 virtual bool boundsContainPageScale() const OVERRIDE;
36 virtual void setUseLCDText(bool) OVERRIDE; 36 virtual void setUseLCDText(bool) OVERRIDE;
37 virtual void setDrawCheckerboardForMissingTiles(bool) OVERRIDE; 37 virtual void setDrawCheckerboardForMissingTiles(bool) OVERRIDE;
38 virtual void setAutomaticallyComputeRasterScale(bool); 38 virtual void setAutomaticallyComputeRasterScale(bool);
39 39
40 protected: 40 protected:
41 virtual ~WebContentLayerImpl(); 41 virtual ~WebContentLayerImpl();
42 42
43 // ContentLayerClient implementation. 43 // ContentLayerClient implementation.
44 virtual void paintContents(SkCanvas*, const cc::IntRect& clip, cc::FloatRect & opaque) OVERRIDE; 44 virtual void paintContents(SkCanvas*, const gfx::Rect& clip, gfx::RectF& opa que) OVERRIDE;
45 45
46 scoped_ptr<WebLayerImpl> m_layer; 46 scoped_ptr<WebLayerImpl> m_layer;
47 WebContentLayerClient* m_client; 47 WebContentLayerClient* m_client;
48 bool m_drawsContent; 48 bool m_drawsContent;
49 }; 49 };
50 50
51 } // namespace WebKit 51 } // namespace WebKit
52 52
53 #endif // WebContentLayerImpl_h 53 #endif // WebContentLayerImpl_h
OLDNEW
« no previous file with comments | « cc/video_layer_impl.cc ('k') | webkit/compositor_bindings/web_content_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698