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

Side by Side Diff: webkit/compositor_bindings/WebContentLayerImpl.h

Issue 11189043: cc: Rename cc classes and members to match filenames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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
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 #include "WebLayerImpl.h" 8 #include "WebLayerImpl.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "cc/content_layer_client.h" 10 #include "cc/content_layer_client.h"
11 #include "third_party/WebKit/Source/Platform/chromium/public/WebContentLayer.h" 11 #include "third_party/WebKit/Source/Platform/chromium/public/WebContentLayer.h"
12 12
13 namespace cc { 13 namespace cc {
14 class IntRect; 14 class IntRect;
15 class FloatRect; 15 class FloatRect;
16 } 16 }
17 17
18 namespace WebKit { 18 namespace WebKit {
19 class WebContentLayerClient; 19 class WebContentLayerClient;
20 20
21 class WebContentLayerImpl : public WebContentLayer, 21 class WebContentLayerImpl : public WebContentLayer,
22 public cc::ContentLayerChromiumClient { 22 public cc::ContentLayerClient {
23 public: 23 public:
24 explicit WebContentLayerImpl(WebContentLayerClient*); 24 explicit WebContentLayerImpl(WebContentLayerClient*);
25 25
26 // WebContentLayer implementation. 26 // WebContentLayer implementation.
27 virtual WebLayer* layer() OVERRIDE; 27 virtual WebLayer* layer() OVERRIDE;
28 virtual void setDoubleSided(bool) OVERRIDE; 28 virtual void setDoubleSided(bool) OVERRIDE;
29 virtual void setBoundsContainPageScale(bool) OVERRIDE; 29 virtual void setBoundsContainPageScale(bool) OVERRIDE;
30 virtual bool boundsContainPageScale() const OVERRIDE; 30 virtual bool boundsContainPageScale() const OVERRIDE;
31 virtual void setUseLCDText(bool) OVERRIDE; 31 virtual void setUseLCDText(bool) OVERRIDE;
32 virtual void setDrawCheckerboardForMissingTiles(bool) OVERRIDE; 32 virtual void setDrawCheckerboardForMissingTiles(bool) OVERRIDE;
33 33
34 protected: 34 protected:
35 virtual ~WebContentLayerImpl(); 35 virtual ~WebContentLayerImpl();
36 36
37 // ContentLayerChromiumClient implementation. 37 // ContentLayerClient implementation.
38 virtual void paintContents(SkCanvas*, const cc::IntRect& clip, cc::FloatRect & opaque) OVERRIDE; 38 virtual void paintContents(SkCanvas*, const cc::IntRect& clip, cc::FloatRect & opaque) OVERRIDE;
39 39
40 scoped_ptr<WebLayerImpl> m_layer; 40 scoped_ptr<WebLayerImpl> m_layer;
41 WebContentLayerClient* m_client; 41 WebContentLayerClient* m_client;
42 bool m_drawsContent; 42 bool m_drawsContent;
43 }; 43 };
44 44
45 } // namespace WebKit 45 } // namespace WebKit
46 46
47 #endif // WebContentLayerImpl_h 47 #endif // WebContentLayerImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698