Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1133)

Unified Diff: chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h

Issue 6794035: Move dispatching and sending of the last extension specific messages out of TabContents and Rende... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
};

Powered by Google App Engine
This is Rietveld 408576698