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

Unified Diff: chrome/browser/ui/apps/app_metro_infobar_delegate_win.h

Issue 190063006: Infobar Componentization Proof of Concept (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor fixes Created 6 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/apps/app_metro_infobar_delegate_win.h
diff --git a/chrome/browser/ui/apps/app_metro_infobar_delegate_win.h b/chrome/browser/ui/apps/app_metro_infobar_delegate_win.h
index a38396ee4332fcf2f2996f2f87f5cf036b5d8cf1..09a487b8d7cad083d7b6735a08ee1c966a5c0a2f 100644
--- a/chrome/browser/ui/apps/app_metro_infobar_delegate_win.h
+++ b/chrome/browser/ui/apps/app_metro_infobar_delegate_win.h
@@ -7,7 +7,7 @@
#include <string>
-#include "chrome/browser/infobars/confirm_infobar_delegate.h"
+#include "chrome/browser/infobars/content_confirm_infobar_delegate.h"
class InfoBarService;
class Profile;
@@ -15,7 +15,7 @@ class Profile;
// This infobar operates by opening a new tab on about:blank, showing an
// infobar offering to relaunch the browser in metro mode, and then relaunching
// in Desktop mode if confirmed.
-class AppMetroInfoBarDelegateWin : public ConfirmInfoBarDelegate {
+class AppMetroInfoBarDelegateWin : public ContentConfirmInfoBarDelegate {
public:
enum Mode {
SHOW_APP_LIST,
@@ -29,7 +29,9 @@ class AppMetroInfoBarDelegateWin : public ConfirmInfoBarDelegate {
const std::string& extension_id);
private:
- AppMetroInfoBarDelegateWin(Mode mode, const std::string& extension_id);
+ AppMetroInfoBarDelegateWin(content::WebContents* web_contents,
+ Mode mode,
+ const std::string& extension_id);
virtual ~AppMetroInfoBarDelegateWin();
// ConfirmInfoBarDelegate overrides:

Powered by Google App Engine
This is Rietveld 408576698