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

Unified Diff: webkit/compositor_bindings/web_solid_color_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_solid_color_layer_impl.h
diff --git a/webkit/compositor_bindings/web_solid_color_layer_impl.h b/webkit/compositor_bindings/web_solid_color_layer_impl.h
index 6d841b4a05e65ad6b3841848f0958a1e50fe940c..bb7732a0ad95d884bde1f95d824855cc354e7e80 100644
--- a/webkit/compositor_bindings/web_solid_color_layer_impl.h
+++ b/webkit/compositor_bindings/web_solid_color_layer_impl.h
@@ -2,31 +2,33 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WebSolidColorLayerImpl_h
-#define WebSolidColorLayerImpl_h
+#ifndef WEBKIT_COMPOSITOR_BINDINGS_WEB_SOLID_COLOR_LAYER_IMPL_H_
+#define WEBKIT_COMPOSITOR_BINDINGS_WEB_SOLID_COLOR_LAYER_IMPL_H_
#include "base/memory/scoped_ptr.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebColor.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebSolidColorLayer.h"
#include "webkit/compositor_bindings/webkit_compositor_bindings_export.h"
-namespace WebKit {
+namespace webkit {
class WebLayerImpl;
-class WebSolidColorLayerImpl : public WebSolidColorLayer {
+class WebSolidColorLayerImpl : public WebKit::WebSolidColorLayer {
public:
WEBKIT_COMPOSITOR_BINDINGS_EXPORT WebSolidColorLayerImpl();
virtual ~WebSolidColorLayerImpl();
- // WebSolidColorLayer implementation.
- virtual WebLayer* layer();
- virtual void setBackgroundColor(WebColor);
+ // WebKit::WebSolidColorLayer implementation.
+ virtual WebKit::WebLayer* layer();
+ virtual void setBackgroundColor(WebKit::WebColor);
private:
scoped_ptr<WebLayerImpl> layer_;
+
+ DISALLOW_COPY_AND_ASSIGN(WebSolidColorLayerImpl);
};
-} // namespace WebKit
+} // namespace webkit
-#endif // WebSolidColorLayerImpl_h
+#endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_SOLID_COLOR_LAYER_IMPL_H_
« no previous file with comments | « webkit/compositor_bindings/web_scrollbar_layer_impl.cc ('k') | webkit/compositor_bindings/web_solid_color_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698