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

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

Issue 12496013: Move compositor bindings implementations out of WebKit::, fix style (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 9 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
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 WEBKIT_COMPOSITOR_BINDINGS_WEB_IMAGE_LAYER_IMPL_H_
6 #define WebImageLayerImpl_h 6 #define WEBKIT_COMPOSITOR_BINDINGS_WEB_IMAGE_LAYER_IMPL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebImageLayer.h" 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebImageLayer.h"
10 #include "third_party/skia/include/core/SkBitmap.h" 10 #include "third_party/skia/include/core/SkBitmap.h"
11 #include "webkit/compositor_bindings/webkit_compositor_bindings_export.h" 11 #include "webkit/compositor_bindings/webkit_compositor_bindings_export.h"
12 12
13 namespace WebKit { 13 namespace webkit {
14
14 class WebLayerImpl; 15 class WebLayerImpl;
15 16
16 class WebImageLayerImpl : public WebImageLayer { 17 class WebImageLayerImpl : public WebKit::WebImageLayer {
17 public: 18 public:
18 WEBKIT_COMPOSITOR_BINDINGS_EXPORT WebImageLayerImpl(); 19 WEBKIT_COMPOSITOR_BINDINGS_EXPORT WebImageLayerImpl();
19 virtual ~WebImageLayerImpl(); 20 virtual ~WebImageLayerImpl();
20 21
21 // WebImageLayer implementation. 22 // WebKit::WebImageLayer implementation.
22 virtual WebLayer* layer(); 23 virtual WebKit::WebLayer* layer();
23 virtual void setBitmap(SkBitmap); 24 virtual void setBitmap(SkBitmap);
24 25
25 private: 26 private:
26 scoped_ptr<WebLayerImpl> layer_; 27 scoped_ptr<WebLayerImpl> layer_;
28
29 DISALLOW_COPY_AND_ASSIGN(WebImageLayerImpl);
27 }; 30 };
28 31
29 } 32 }
30 33
31 #endif // WebImageLayerImpl_h 34 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_IMAGE_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/compositor_bindings/web_float_animation_curve_unittest.cc ('k') | webkit/compositor_bindings/web_image_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698