| Index: content/renderer/compositor_bindings/web_layer_impl_fixed_bounds.h
|
| diff --git a/webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.h b/content/renderer/compositor_bindings/web_layer_impl_fixed_bounds.h
|
| similarity index 70%
|
| rename from webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.h
|
| rename to content/renderer/compositor_bindings/web_layer_impl_fixed_bounds.h
|
| index f338cdead7a6d64a7346f4212becd364c6f3ddf3..37f460b7c241c1536e72dbc8dc18e87a6512689d 100644
|
| --- a/webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.h
|
| +++ b/content/renderer/compositor_bindings/web_layer_impl_fixed_bounds.h
|
| @@ -2,14 +2,14 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_FIXED_BOUNDS_H_
|
| -#define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_FIXED_BOUNDS_H_
|
| +#ifndef CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_FIXED_BOUNDS_H_
|
| +#define CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_FIXED_BOUNDS_H_
|
|
|
| +#include "content/renderer/compositor_bindings/web_layer_impl.h"
|
| #include "ui/gfx/size.h"
|
| #include "ui/gfx/transform.h"
|
| -#include "webkit/renderer/compositor_bindings/web_layer_impl.h"
|
|
|
| -namespace webkit {
|
| +namespace content {
|
|
|
| // A special implementation of WebLayerImpl for layers that its contents
|
| // need to be automatically scaled when the bounds changes. The compositor
|
| @@ -18,8 +18,8 @@ namespace webkit {
|
| // transformation scales.
|
| class WebLayerImplFixedBounds : public WebLayerImpl {
|
| public:
|
| - WEBKIT_COMPOSITOR_BINDINGS_EXPORT WebLayerImplFixedBounds();
|
| - WEBKIT_COMPOSITOR_BINDINGS_EXPORT explicit WebLayerImplFixedBounds(
|
| + CONTENT_EXPORT WebLayerImplFixedBounds();
|
| + CONTENT_EXPORT explicit WebLayerImplFixedBounds(
|
| scoped_refptr<cc::Layer>);
|
| virtual ~WebLayerImplFixedBounds();
|
|
|
| @@ -31,7 +31,7 @@ class WebLayerImplFixedBounds : public WebLayerImpl {
|
| virtual void setTransform(const SkMatrix44& transform);
|
| virtual SkMatrix44 transform() const;
|
|
|
| - WEBKIT_COMPOSITOR_BINDINGS_EXPORT void SetFixedBounds(gfx::Size bounds);
|
| + CONTENT_EXPORT void SetFixedBounds(gfx::Size bounds);
|
|
|
| protected:
|
| void SetTransformInternal(const gfx::Transform& transform);
|
| @@ -45,6 +45,6 @@ class WebLayerImplFixedBounds : public WebLayerImpl {
|
| DISALLOW_COPY_AND_ASSIGN(WebLayerImplFixedBounds);
|
| };
|
|
|
| -} // namespace webkit
|
| +} // namespace content
|
|
|
| -#endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_FIXED_BOUNDS_H_
|
| +#endif // CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_FIXED_BOUNDS_H_
|
|
|