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

Unified Diff: chrome/browser/banners/app_banner_manager_desktop.h

Issue 1161233005: Implement app banner info bars on desktop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@stop-icon-overgeneration
Patch Set: Moving feature enabling to existing #ifs Created 5 years, 7 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
« no previous file with comments | « chrome/browser/banners/app_banner_manager.cc ('k') | chrome/browser/banners/app_banner_manager_desktop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/banners/app_banner_manager_desktop.h
diff --git a/chrome/browser/banners/app_banner_manager_desktop.h b/chrome/browser/banners/app_banner_manager_desktop.h
new file mode 100644
index 0000000000000000000000000000000000000000..be12de81b3cbc21022c7d8745c0b06c182f3c8a6
--- /dev/null
+++ b/chrome/browser/banners/app_banner_manager_desktop.h
@@ -0,0 +1,32 @@
+// Copyright 2015 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_BANNERS_APP_BANNER_MANAGER_DESKTOP_H_
+#define CHROME_BROWSER_BANNERS_APP_BANNER_MANAGER_DESKTOP_H_
+
+#include "chrome/browser/banners/app_banner_manager.h"
+
+#include "content/public/browser/web_contents_user_data.h"
+
+namespace banners {
+
+class AppBannerManagerDesktop
+ : public AppBannerManager,
+ public content::WebContentsUserData<AppBannerManagerDesktop> {
+
+ protected:
+ AppBannerDataFetcher* CreateAppBannerDataFetcher(
+ base::WeakPtr<AppBannerDataFetcher::Delegate> weak_delegate,
+ const int ideal_icon_size) override;
+
+ private:
+ explicit AppBannerManagerDesktop(content::WebContents* web_contents);
+ friend class content::WebContentsUserData<AppBannerManagerDesktop>;
+
+ DISALLOW_COPY_AND_ASSIGN(AppBannerManagerDesktop);
+};
+
+} // namespace banners
+
+#endif // CHROME_BROWSER_BANNERS_APP_BANNER_MANAGER_DESKTOP_H_
« no previous file with comments | « chrome/browser/banners/app_banner_manager.cc ('k') | chrome/browser/banners/app_banner_manager_desktop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698