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

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

Issue 11192050: Rename compositor bindings filenames to Chromium style (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
(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 "WebLayerImpl.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "cc/content_layer_client.h"
11 #include "third_party/WebKit/Source/Platform/chromium/public/WebContentLayer.h"
12
13 namespace cc {
14 class IntRect;
15 class FloatRect;
16 }
17
18 namespace WebKit {
19 class WebContentLayerClient;
20
21 class WebContentLayerImpl : public WebContentLayer,
22 public cc::ContentLayerChromiumClient {
23 public:
24 explicit WebContentLayerImpl(WebContentLayerClient*);
25
26 // WebContentLayer implementation.
27 virtual WebLayer* layer() OVERRIDE;
28 virtual void setDoubleSided(bool) OVERRIDE;
29 virtual void setBoundsContainPageScale(bool) OVERRIDE;
30 virtual bool boundsContainPageScale() const OVERRIDE;
31 virtual void setUseLCDText(bool) OVERRIDE;
32 virtual void setDrawCheckerboardForMissingTiles(bool) OVERRIDE;
33
34 protected:
35 virtual ~WebContentLayerImpl();
36
37 // ContentLayerChromiumClient implementation.
38 virtual void paintContents(SkCanvas*, const cc::IntRect& clip, cc::FloatRect & opaque) OVERRIDE;
39
40 scoped_ptr<WebLayerImpl> m_layer;
41 WebContentLayerClient* m_client;
42 bool m_drawsContent;
43 };
44
45 } // namespace WebKit
46
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