Chromium Code Reviews| Index: chrome/browser/ui/extensions/shell_window.h |
| diff --git a/chrome/browser/ui/extensions/shell_window.h b/chrome/browser/ui/extensions/shell_window.h |
| index 4d66ae0b41e885d0a4f1b4e6497f02d1e17ac13f..0fa8e161133798336cf1d72b939f3d106d75cccd 100644 |
| --- a/chrome/browser/ui/extensions/shell_window.h |
| +++ b/chrome/browser/ui/extensions/shell_window.h |
| @@ -69,6 +69,7 @@ class ShellWindow : public content::NotificationObserver, |
| enum WindowType { |
| WINDOW_TYPE_DEFAULT, // Default shell window |
| WINDOW_TYPE_PANEL, // OS controlled panel window (Ash only) |
| + WINDOW_TYPE_V1_PANEL, // For apps v1 support in Ash; deprecate with v1 apps |
| }; |
| enum Frame { |
| @@ -130,6 +131,10 @@ class ShellWindow : public content::NotificationObserver, |
| const extensions::Extension* extension() const { return extension_; } |
| content::WebContents* web_contents() const; |
| WindowType window_type() const { return window_type_; } |
| + bool window_type_panel() const { |
|
jeremya
2013/02/15 03:28:16
is_panel()
stevenjb
2013/02/15 18:26:35
done
|
| + return (window_type_ == WINDOW_TYPE_PANEL || |
| + window_type_ == WINDOW_TYPE_V1_PANEL); |
| + } |
| Profile* profile() const { return profile_; } |
| const gfx::Image& app_icon() const { return app_icon_; } |
| const GURL& app_icon_url() { return app_icon_url_; } |