Index: chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h |
=================================================================== |
--- chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h (revision 80315) |
+++ chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h (working copy) |
@@ -6,7 +6,10 @@ |
#define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_DELEGATE_H_ |
#pragma once |
+#include "base/basictypes.h" |
+ |
class TabContentsWrapper; |
+struct WebApplicationInfo; |
// Objects implement this interface to get notified about changes in the |
// TabContentsWrapper and to provide necessary functionality. |
@@ -15,6 +18,14 @@ |
// Notification that the starredness of the current URL changed. |
virtual void URLStarredChanged(TabContentsWrapper* source, bool starred) = 0; |
+ // Notification that a user's request to install an application has completed. |
+ virtual void OnDidGetApplicationInfo(TabContentsWrapper* source, |
+ int32 page_id); |
+ |
+ // Notification when an application programmatically requests installation. |
+ virtual void OnInstallApplication(TabContentsWrapper* source, |
+ const WebApplicationInfo& app_info); |
+ |
protected: |
virtual ~TabContentsWrapperDelegate(); |
}; |