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

Unified Diff: webkit/compositor_bindings/web_content_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_content_layer_impl.h
diff --git a/webkit/compositor_bindings/web_content_layer_impl.h b/webkit/compositor_bindings/web_content_layer_impl.h
index 609485440b9f035849d4547455e09c0d40014dcb..d687c91be39cc18e0ca39bb5fb36fa1dae6179b7 100644
--- a/webkit/compositor_bindings/web_content_layer_impl.h
+++ b/webkit/compositor_bindings/web_content_layer_impl.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WebContentLayerImpl_h
-#define WebContentLayerImpl_h
+#ifndef WEBKIT_COMPOSITOR_BINDINGS_WEB_CONTENT_LAYER_IMPL_H_
+#define WEBKIT_COMPOSITOR_BINDINGS_WEB_CONTENT_LAYER_IMPL_H_
#include "base/memory/scoped_ptr.h"
#include "cc/layers/content_layer_client.h"
@@ -16,23 +16,24 @@ class IntRect;
class FloatRect;
}
-namespace WebKit {
-class WebContentLayerClient;
+namespace WebKit { class WebContentLayerClient; }
-class WebContentLayerImpl : public WebContentLayer,
+namespace webkit {
+
+class WebContentLayerImpl : public WebKit::WebContentLayer,
public cc::ContentLayerClient {
public:
WEBKIT_COMPOSITOR_BINDINGS_EXPORT explicit WebContentLayerImpl(
- WebContentLayerClient*);
+ WebKit::WebContentLayerClient*);
// WebContentLayer implementation.
- virtual WebLayer* layer();
- virtual void setDoubleSided(bool);
- virtual void setBoundsContainPageScale(bool);
+ virtual WebKit::WebLayer* layer();
+ virtual void setDoubleSided(bool double_sided);
+ virtual void setBoundsContainPageScale(bool contains);
virtual bool boundsContainPageScale() const;
- virtual void setUseLCDText(bool);
- virtual void setDrawCheckerboardForMissingTiles(bool);
- virtual void setAutomaticallyComputeRasterScale(bool);
+ virtual void setUseLCDText(bool use_lcd_text);
+ virtual void setDrawCheckerboardForMissingTiles(bool checkerboard);
+ virtual void setAutomaticallyComputeRasterScale(bool compute_raster);
protected:
virtual ~WebContentLayerImpl();
@@ -43,10 +44,13 @@ class WebContentLayerImpl : public WebContentLayer,
gfx::RectF* opaque) OVERRIDE;
scoped_ptr<WebLayerImpl> layer_;
- WebContentLayerClient* client_;
+ WebKit::WebContentLayerClient* client_;
bool draws_content_;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(WebContentLayerImpl);
};
-} // namespace WebKit
+} // namespace webkit
-#endif // WebContentLayerImpl_h
+#endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_CONTENT_LAYER_IMPL_H_
« no previous file with comments | « webkit/compositor_bindings/web_compositor_support_impl.cc ('k') | webkit/compositor_bindings/web_content_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698