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

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

Issue 10920059: Rolls cc and webkit_compositor up to 127340 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « webkit/compositor/WebAnimationImpl.cpp ('k') | webkit/compositor/WebContentLayerImpl.cpp » ('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 #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/PassRefPtr.h> 11 #include <wtf/OwnPtr.h>
12 12
13 namespace WebKit { 13 namespace WebKit {
14 class WebContentLayerClient; 14 class WebContentLayerClient;
15 15
16 class WebContentLayerImpl : public WebContentLayer, 16 class WebContentLayerImpl : public WebContentLayer,
17 public WebCore::ContentLayerChromiumClient { 17 public WebCore::ContentLayerChromiumClient {
18 public: 18 public:
19 explicit WebContentLayerImpl(WebContentLayerClient*); 19 explicit WebContentLayerImpl(WebContentLayerClient*);
20 20
21 // WebContentLayer implementation. 21 // WebContentLayer implementation.
22 virtual WebLayer* layer() OVERRIDE; 22 virtual WebLayer* layer() OVERRIDE;
23 virtual void setDoubleSided(bool) OVERRIDE; 23 virtual void setDoubleSided(bool) OVERRIDE;
24 virtual void setContentsScale(float) OVERRIDE; 24 virtual void setContentsScale(float) OVERRIDE;
25 virtual void setUseLCDText(bool) OVERRIDE; 25 virtual void setUseLCDText(bool) OVERRIDE;
26 virtual void setDrawCheckerboardForMissingTiles(bool) OVERRIDE; 26 virtual void setDrawCheckerboardForMissingTiles(bool) OVERRIDE;
27 27
28 protected: 28 protected:
29 virtual ~WebContentLayerImpl(); 29 virtual ~WebContentLayerImpl();
30 30
31 // ContentLayerChromiumClient implementation. 31 // ContentLayerChromiumClient implementation.
32 virtual void paintContents(SkCanvas*, const WebCore::IntRect& clip, WebCore: :FloatRect& opaque) OVERRIDE; 32 virtual void paintContents(SkCanvas*, const WebCore::IntRect& clip, WebCore: :FloatRect& opaque) OVERRIDE;
33 33
34 OwnPtr<WebLayerImpl> m_webLayerImpl; 34 OwnPtr<WebLayerImpl> m_layer;
35 WebContentLayerClient* m_client; 35 WebContentLayerClient* m_client;
36 bool m_drawsContent; 36 bool m_drawsContent;
37 }; 37 };
38 38
39 } // namespace WebKit 39 } // namespace WebKit
40 40
41 #endif // WebContentLayerImpl_h 41 #endif // WebContentLayerImpl_h
OLDNEW
« no previous file with comments | « webkit/compositor/WebAnimationImpl.cpp ('k') | webkit/compositor/WebContentLayerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698