| Index: chrome/browser/tab_contents/tab_contents.h
|
| diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h
|
| index 19a61a8cd2491172d17849cd1169450321b17841..b409595ccdc3ffa7983847d068c6dcec0eb6e119 100644
|
| --- a/chrome/browser/tab_contents/tab_contents.h
|
| +++ b/chrome/browser/tab_contents/tab_contents.h
|
| @@ -194,6 +194,12 @@ class TabContents : public PageNavigator,
|
|
|
| // App extensions ------------------------------------------------------------
|
|
|
| + // Returns whether this tab is showing either a hosted or packaged app.
|
| + bool IsInstalledApp() const;
|
| +
|
| + // TODO(creis): The app-tab functions below are deprecated and should be
|
| + // removed.
|
| +
|
| // Sets the extension denoting this as an app. If |extension| is non-null this
|
| // tab becomes an app-tab. TabContents does not listen for unload events for
|
| // the extension. It's up to consumers of TabContents to do that.
|
| @@ -209,6 +215,8 @@ class TabContents : public PageNavigator,
|
| void SetExtensionAppById(const std::string& extension_app_id);
|
|
|
| const Extension* extension_app() const { return extension_app_; }
|
| +
|
| + // Returns whether this tab is an app-tab (deprecated).
|
| bool is_app() const { return extension_app_ != NULL; }
|
|
|
| // If an app extension has been explicitly set for this TabContents its icon
|
|
|