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

Side by Side Diff: webkit/compositor/WebLayerImpl.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/WebImageLayerImpl.cpp ('k') | webkit/compositor/WebLayerImpl.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 WebLayerImpl_h 5 #ifndef WebLayerImpl_h
6 #define WebLayerImpl_h 6 #define WebLayerImpl_h
7 7
8 #include <public/WebLayer.h> 8 #include <public/WebLayer.h>
9 #include <wtf/PassRefPtr.h>
9 #include <wtf/RefPtr.h> 10 #include <wtf/RefPtr.h>
10 11
11 namespace WebCore { 12 namespace WebCore {
12 class LayerChromium; 13 class LayerChromium;
13 } 14 }
14 15
15 namespace WebKit { 16 namespace WebKit {
16 17
17 class WebLayerImpl : public WebLayer { 18 class WebLayerImpl : public WebLayer {
18 public: 19 public:
20 WebLayerImpl();
19 explicit WebLayerImpl(PassRefPtr<WebCore::LayerChromium>); 21 explicit WebLayerImpl(PassRefPtr<WebCore::LayerChromium>);
20 virtual ~WebLayerImpl(); 22 virtual ~WebLayerImpl();
21 23
22 // WebLayer implementation. 24 // WebLayer implementation.
23 virtual int id() const OVERRIDE; 25 virtual int id() const OVERRIDE;
24 virtual void invalidateRect(const WebFloatRect&) OVERRIDE; 26 virtual void invalidateRect(const WebFloatRect&) OVERRIDE;
25 virtual void invalidate() OVERRIDE; 27 virtual void invalidate() OVERRIDE;
26 virtual void addChild(WebLayer*) OVERRIDE; 28 virtual void addChild(WebLayer*) OVERRIDE;
27 virtual void insertChild(WebLayer*, size_t index) OVERRIDE; 29 virtual void insertChild(WebLayer*, size_t index) OVERRIDE;
28 virtual void replaceChild(WebLayer* reference, WebLayer* newLayer) OVERRIDE; 30 virtual void replaceChild(WebLayer* reference, WebLayer* newLayer) OVERRIDE;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 82
81 WebCore::LayerChromium* layer() const; 83 WebCore::LayerChromium* layer() const;
82 84
83 protected: 85 protected:
84 RefPtr<WebCore::LayerChromium> m_layer; 86 RefPtr<WebCore::LayerChromium> m_layer;
85 }; 87 };
86 88
87 } // namespace WebKit 89 } // namespace WebKit
88 90
89 #endif // WebLayerImpl_h 91 #endif // WebLayerImpl_h
OLDNEW
« no previous file with comments | « webkit/compositor/WebImageLayerImpl.cpp ('k') | webkit/compositor/WebLayerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698