Index: components/exo/shell_surface.h |
diff --git a/components/exo/shell_surface.h b/components/exo/shell_surface.h |
index 1c2bad322a0dd2525fde81414e18d586ea45f3e6..541dd11df654e19b1eb3429587051a80ea6e7478 100644 |
--- a/components/exo/shell_surface.h |
+++ b/components/exo/shell_surface.h |
@@ -58,6 +58,10 @@ class ShellSurface : public SurfaceDelegate, |
// Start an interactive move of surface. |
void Move(); |
+ // Set geometry for surface. The geometry represents the "visible bounds" |
+ // for the surface from the user's perspective. |
+ void SetGeometry(const gfx::Rect& geometry); |
+ |
// Returns a trace value representing the state of the surface. |
scoped_refptr<base::trace_event::TracedValue> AsTracedValue() const; |
@@ -84,6 +88,7 @@ class ShellSurface : public SurfaceDelegate, |
Surface* surface_; |
base::string16 title_; |
std::string application_id_; |
+ gfx::Rect geometry_; |
DISALLOW_COPY_AND_ASSIGN(ShellSurface); |
}; |