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

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

Issue 10914268: Change cc files from namespace WebCore to cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 3 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 "ContentLayerChromiumClient.h" 8 #include "ContentLayerChromiumClient.h"
9 #include "WebLayerImpl.h" 9 #include "WebLayerImpl.h"
10 #include <public/WebContentLayer.h> 10 #include <public/WebContentLayer.h>
11 #include <wtf/OwnPtr.h> 11 #include <wtf/OwnPtr.h>
12 12
13 namespace cc {
14 class IntRect;
15 class FloatRect;
16 }
17
13 namespace WebKit { 18 namespace WebKit {
14 class WebContentLayerClient; 19 class WebContentLayerClient;
15 20
16 class WebContentLayerImpl : public WebContentLayer, 21 class WebContentLayerImpl : public WebContentLayer,
17 public WebCore::ContentLayerChromiumClient { 22 public cc::ContentLayerChromiumClient {
18 public: 23 public:
19 explicit WebContentLayerImpl(WebContentLayerClient*); 24 explicit WebContentLayerImpl(WebContentLayerClient*);
20 25
21 // WebContentLayer implementation. 26 // WebContentLayer implementation.
22 virtual WebLayer* layer() OVERRIDE; 27 virtual WebLayer* layer() OVERRIDE;
23 virtual void setDoubleSided(bool) OVERRIDE; 28 virtual void setDoubleSided(bool) OVERRIDE;
24 virtual void setBoundsContainPageScale(bool) OVERRIDE; 29 virtual void setBoundsContainPageScale(bool) OVERRIDE;
25 virtual bool boundsContainPageScale() const OVERRIDE; 30 virtual bool boundsContainPageScale() const OVERRIDE;
26 virtual void setUseLCDText(bool) OVERRIDE; 31 virtual void setUseLCDText(bool) OVERRIDE;
27 virtual void setDrawCheckerboardForMissingTiles(bool) OVERRIDE; 32 virtual void setDrawCheckerboardForMissingTiles(bool) OVERRIDE;
28 33
29 protected: 34 protected:
30 virtual ~WebContentLayerImpl(); 35 virtual ~WebContentLayerImpl();
31 36
32 // ContentLayerChromiumClient implementation. 37 // ContentLayerChromiumClient implementation.
33 virtual void paintContents(SkCanvas*, const WebCore::IntRect& clip, WebCore: :FloatRect& opaque) OVERRIDE; 38 virtual void paintContents(SkCanvas*, const cc::IntRect& clip, cc::FloatRect & opaque) OVERRIDE;
34 39
35 OwnPtr<WebLayerImpl> m_layer; 40 OwnPtr<WebLayerImpl> m_layer;
36 WebContentLayerClient* m_client; 41 WebContentLayerClient* m_client;
37 bool m_drawsContent; 42 bool m_drawsContent;
38 }; 43 };
39 44
40 } // namespace WebKit 45 } // namespace WebKit
41 46
42 #endif // WebContentLayerImpl_h 47 #endif // WebContentLayerImpl_h
OLDNEW
« no previous file with comments | « webkit/compositor_bindings/WebCompositorImpl.cpp ('k') | webkit/compositor_bindings/WebContentLayerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698