OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_GFX_COMPOSITOR_LAYER_PROPERTY_SETTER_H_ | 5 #ifndef UI_GFX_COMPOSITOR_LAYER_PROPERTY_SETTER_H_ |
6 #define UI_GFX_COMPOSITOR_LAYER_PROPERTY_SETTER_H_ | 6 #define UI_GFX_COMPOSITOR_LAYER_PROPERTY_SETTER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "views/views_export.h" | 9 #include "views/views_export.h" |
10 | 10 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 virtual void SetTransform(ui::Layer* layer, | 42 virtual void SetTransform(ui::Layer* layer, |
43 const ui::Transform& transform) = 0; | 43 const ui::Transform& transform) = 0; |
44 | 44 |
45 // Sets the bounds of the layer. | 45 // Sets the bounds of the layer. |
46 virtual void SetBounds(ui::Layer* layer, const gfx::Rect& bounds) = 0; | 46 virtual void SetBounds(ui::Layer* layer, const gfx::Rect& bounds) = 0; |
47 }; | 47 }; |
48 | 48 |
49 } // namespace views | 49 } // namespace views |
50 | 50 |
51 #endif // UI_GFX_COMPOSITOR_LAYER_PROPERTY_SETTER_H_ | 51 #endif // UI_GFX_COMPOSITOR_LAYER_PROPERTY_SETTER_H_ |
OLD | NEW |