| Index: cc/blink/web_layer_impl_fixed_bounds.h
|
| diff --git a/content/renderer/compositor_bindings/web_layer_impl_fixed_bounds.h b/cc/blink/web_layer_impl_fixed_bounds.h
|
| similarity index 71%
|
| rename from content/renderer/compositor_bindings/web_layer_impl_fixed_bounds.h
|
| rename to cc/blink/web_layer_impl_fixed_bounds.h
|
| index 2048666fd18a1898ce216bccd5cc6566cb874767..07c461cd90de413324d168a0ed7509cf1deb5d4e 100644
|
| --- a/content/renderer/compositor_bindings/web_layer_impl_fixed_bounds.h
|
| +++ b/cc/blink/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 CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_FIXED_BOUNDS_H_
|
| -#define CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_FIXED_BOUNDS_H_
|
| +#ifndef CC_BLINK_WEB_LAYER_IMPL_FIXED_BOUNDS_H_
|
| +#define CC_BLINK_WEB_LAYER_IMPL_FIXED_BOUNDS_H_
|
|
|
| -#include "content/renderer/compositor_bindings/web_layer_impl.h"
|
| +#include "cc/blink/web_layer_impl.h"
|
| #include "ui/gfx/size.h"
|
| #include "ui/gfx/transform.h"
|
|
|
| -namespace content {
|
| +namespace cc_blink {
|
|
|
| // A special implementation of WebLayerImpl for layers that its contents
|
| // need to be automatically scaled when the bounds changes. The compositor
|
| @@ -18,9 +18,8 @@ namespace content {
|
| // transformation scales.
|
| class WebLayerImplFixedBounds : public WebLayerImpl {
|
| public:
|
| - CONTENT_EXPORT WebLayerImplFixedBounds();
|
| - CONTENT_EXPORT explicit WebLayerImplFixedBounds(
|
| - scoped_refptr<cc::Layer>);
|
| + CC_BLINK_EXPORT WebLayerImplFixedBounds();
|
| + CC_BLINK_EXPORT explicit WebLayerImplFixedBounds(scoped_refptr<cc::Layer>);
|
| virtual ~WebLayerImplFixedBounds();
|
|
|
| // WebLayerImpl overrides.
|
| @@ -32,7 +31,7 @@ class WebLayerImplFixedBounds : public WebLayerImpl {
|
| virtual void setTransform(const SkMatrix44& transform);
|
| virtual SkMatrix44 transform() const;
|
|
|
| - CONTENT_EXPORT void SetFixedBounds(gfx::Size bounds);
|
| + CC_BLINK_EXPORT void SetFixedBounds(gfx::Size bounds);
|
|
|
| protected:
|
| void SetTransformInternal(const gfx::Transform& transform);
|
| @@ -46,7 +45,6 @@ class WebLayerImplFixedBounds : public WebLayerImpl {
|
| DISALLOW_COPY_AND_ASSIGN(WebLayerImplFixedBounds);
|
| };
|
|
|
| -} // namespace content
|
| -
|
| -#endif // CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_FIXED_BOUNDS_H_
|
| +} // namespace cc_blink
|
|
|
| +#endif // CC_BLINK_WEB_LAYER_IMPL_FIXED_BOUNDS_H_
|
|
|