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

Side by Side Diff: webkit/compositor/WebImageLayerImpl.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/WebIOSurfaceLayerImpl.cpp ('k') | webkit/compositor/WebImageLayerImpl.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 WebImageLayerImpl_h 5 #ifndef WebImageLayerImpl_h
6 #define WebImageLayerImpl_h 6 #define WebImageLayerImpl_h
7 7
8 #include <public/WebImageLayer.h> 8 #include <public/WebImageLayer.h>
9 #include <wtf/OwnPtr.h> 9 #include <wtf/OwnPtr.h>
10 10
11 namespace WebCore { 11 namespace WebCore {
12 class ImageLayerChromium; 12 class ImageLayerChromium;
13 } 13 }
14 14
15 namespace WebKit { 15 namespace WebKit {
16 class WebLayerImpl; 16 class WebLayerImpl;
17 17
18 class WebImageLayerImpl : public WebImageLayer { 18 class WebImageLayerImpl : public WebImageLayer {
19 public: 19 public:
20 explicit WebImageLayerImpl(PassRefPtr<WebCore::ImageLayerChromium>); 20 WebImageLayerImpl();
21 virtual ~WebImageLayerImpl(); 21 virtual ~WebImageLayerImpl();
22 22
23 // WebImageLayer implementation. 23 // WebImageLayer implementation.
24 WebLayer* layer() OVERRIDE; 24 WebLayer* layer() OVERRIDE;
25 virtual void setBitmap(SkBitmap) OVERRIDE; 25 virtual void setBitmap(SkBitmap) OVERRIDE;
26 26
27 private: 27 private:
28 OwnPtr<WebLayerImpl> m_layer; 28 OwnPtr<WebLayerImpl> m_layer;
29 }; 29 };
30 30
31 } 31 }
32 32
33 #endif // WebImageLayerImpl_h 33 #endif // WebImageLayerImpl_h
OLDNEW
« no previous file with comments | « webkit/compositor/WebIOSurfaceLayerImpl.cpp ('k') | webkit/compositor/WebImageLayerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698