Chromium Code Reviews| Index: chrome/browser/ui/web_applications/hosted_app_tab_helper_delegate.h |
| diff --git a/chrome/browser/ui/web_applications/hosted_app_tab_helper_delegate.h b/chrome/browser/ui/web_applications/hosted_app_tab_helper_delegate.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..dda613076de60acc1fb1a6333417440b96766213 |
| --- /dev/null |
| +++ b/chrome/browser/ui/web_applications/hosted_app_tab_helper_delegate.h |
| @@ -0,0 +1,23 @@ |
| +// Copyright 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_UI_WEB_APPLICATIONS_HOSTED_APP_TAB_HELPER_DELEGATE_H_ |
| +#define CHROME_BROWSER_UI_WEB_APPLICATIONS_HOSTED_APP_TAB_HELPER_DELEGATE_H_ |
| + |
| +namespace content { |
| +class WebContents; |
| +} |
| + |
| +// Objects implement this interface to get notified about changes in the |
| +// HostedAppTabHelper and to provide necessary functionality. |
| +class HostedAppTabHelperDelegate { |
| + public: |
| + // Notification that the window icon has been loaded. |
| + virtual void OnWindowIconLoaded(content::WebContents* source) = 0; |
|
benwells
2013/11/13 21:55:17
Which icon / size is finished?
calamity
2013/11/15 04:25:50
All favicon icons/sizes provided by the webpage.
|
| + |
| + protected: |
| + virtual ~HostedAppTabHelperDelegate() {} |
| +}; |
| + |
| +#endif // CHROME_BROWSER_UI_WEB_APPLICATIONS_HOSTED_APP_TAB_HELPER_DELEGATE_H_ |