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

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

Issue 10920056: Make cc_unittests and webkit_compositor_unittests executable always (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename to webkit_compositor_bindings 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef WebContentLayerImpl_h
6 #define WebContentLayerImpl_h
7
8 #include "ContentLayerChromiumClient.h"
9 #include "WebLayerImpl.h"
10 #include <public/WebContentLayer.h>
11 #include <wtf/OwnPtr.h>
12
13 namespace WebKit {
14 class WebContentLayerClient;
15
16 class WebContentLayerImpl : public WebContentLayer,
17 public WebCore::ContentLayerChromiumClient {
18 public:
19 explicit WebContentLayerImpl(WebContentLayerClient*);
20
21 // WebContentLayer implementation.
22 virtual WebLayer* layer() OVERRIDE;
23 virtual void setDoubleSided(bool) OVERRIDE;
24 virtual void setContentsScale(float) OVERRIDE;
25 virtual void setUseLCDText(bool) OVERRIDE;
26 virtual void setDrawCheckerboardForMissingTiles(bool) OVERRIDE;
27
28 protected:
29 virtual ~WebContentLayerImpl();
30
31 // ContentLayerChromiumClient implementation.
32 virtual void paintContents(SkCanvas*, const WebCore::IntRect& clip, WebCore: :FloatRect& opaque) OVERRIDE;
33
34 OwnPtr<WebLayerImpl> m_layer;
35 WebContentLayerClient* m_client;
36 bool m_drawsContent;
37 };
38
39 } // namespace WebKit
40
41 #endif // WebContentLayerImpl_h
OLDNEW
« no previous file with comments | « webkit/compositor/WebCompositorInputHandlerImpl.cpp ('k') | webkit/compositor/WebContentLayerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698