Index: ui/compositor/layer.h |
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h |
index fa2c474a11c0f42c42163a7e8ebeee5d6f87cac0..47619bdc2a07f92cc69e73004ebafe032356a550 100644 |
--- a/ui/compositor/layer.h |
+++ b/ui/compositor/layer.h |
@@ -168,6 +168,9 @@ class COMPOSITOR_EXPORT Layer |
// grayscale otherwise. |
float GetTargetGrayscale() const; |
+ // Zoom the background by this amount. |
+ void SetBackgroundZoom(float x_offset, float y_offset, float zoom, int inset); |
+ |
// Invert the layer. |
bool layer_inverted() const { return layer_inverted_; } |
void SetLayerInverted(bool inverted); |
@@ -325,6 +328,9 @@ class COMPOSITOR_EXPORT Layer |
// Set all filters which got applied to the layer. |
void SetLayerFilters(); |
+ // Set all filters which got applied to the layer background. |
+ void SetLayerBackgroundFilters(); |
+ |
const LayerType type_; |
Compositor* compositor_; |
@@ -371,6 +377,11 @@ class COMPOSITOR_EXPORT Layer |
// while attached to the main layer before the main layer is deleted. |
Layer* layer_mask_back_link_; |
+ float zoom_x_offset_; |
+ float zoom_y_offset_; |
+ float zoom_; |
+ int zoom_inset_; |
oshima
2012/09/13 16:35:31
document
Zachary Kuznia
2012/10/09 09:02:36
Done.
|
+ |
std::string name_; |
LayerDelegate* delegate_; |