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

Unified Diff: chrome/browser/ui/web_applications/hosted_app_tab_helper_delegate.h

Issue 64853004: Use high resolution icons where possible for streamlined hosted app icons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@browser_experiment_create_app_from_page
Patch Set: Created 7 years, 1 month 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/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;
+
+ protected:
+ virtual ~HostedAppTabHelperDelegate() {}
+};
+
+#endif // CHROME_BROWSER_UI_WEB_APPLICATIONS_HOSTED_APP_TAB_HELPER_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698