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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: webkit/compositor_bindings/web_image_layer_impl.h
diff --git a/webkit/compositor_bindings/web_image_layer_impl.h b/webkit/compositor_bindings/web_image_layer_impl.h
index 77ec628244eb4518de17ad09a49acd4691ba0552..d4a483cc9ad74b06fdef578d0ef4ef71132cff9d 100644
--- a/webkit/compositor_bindings/web_image_layer_impl.h
+++ b/webkit/compositor_bindings/web_image_layer_impl.h
@@ -2,30 +2,33 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WebImageLayerImpl_h
-#define WebImageLayerImpl_h
+#ifndef WEBKIT_COMPOSITOR_BINDINGS_WEB_IMAGE_LAYER_IMPL_H_
+#define WEBKIT_COMPOSITOR_BINDINGS_WEB_IMAGE_LAYER_IMPL_H_
#include "base/memory/scoped_ptr.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebImageLayer.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "webkit/compositor_bindings/webkit_compositor_bindings_export.h"
-namespace WebKit {
+namespace webkit {
+
class WebLayerImpl;
-class WebImageLayerImpl : public WebImageLayer {
+class WebImageLayerImpl : public WebKit::WebImageLayer {
public:
WEBKIT_COMPOSITOR_BINDINGS_EXPORT WebImageLayerImpl();
virtual ~WebImageLayerImpl();
- // WebImageLayer implementation.
- virtual WebLayer* layer();
+ // WebKit::WebImageLayer implementation.
+ virtual WebKit::WebLayer* layer();
virtual void setBitmap(SkBitmap);
private:
scoped_ptr<WebLayerImpl> layer_;
+
+ DISALLOW_COPY_AND_ASSIGN(WebImageLayerImpl);
};
}
-#endif // WebImageLayerImpl_h
+#endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_IMAGE_LAYER_IMPL_H_
« 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