Index: components/exo/shell_surface.h |
diff --git a/components/exo/shell_surface.h b/components/exo/shell_surface.h |
index 7a2c189af26bc3fa9a48c824b911f1ee57b04b05..1c2bad322a0dd2525fde81414e18d586ea45f3e6 100644 |
--- a/components/exo/shell_surface.h |
+++ b/components/exo/shell_surface.h |
@@ -46,6 +46,15 @@ class ShellSurface : public SurfaceDelegate, |
// Set title for surface. |
void SetTitle(const base::string16& title); |
+ // Sets the application ID for the window. The application ID identifies the |
+ // general class of applications to which the window belongs. |
+ static void SetApplicationId(aura::Window* window, |
+ std::string* application_id); |
+ static const std::string GetApplicationId(aura::Window* window); |
+ |
+ // Set application id for surface. |
+ void SetApplicationId(const std::string& application_id); |
+ |
// Start an interactive move of surface. |
void Move(); |
@@ -74,6 +83,7 @@ class ShellSurface : public SurfaceDelegate, |
scoped_ptr<views::Widget> widget_; |
Surface* surface_; |
base::string16 title_; |
+ std::string application_id_; |
DISALLOW_COPY_AND_ASSIGN(ShellSurface); |
}; |