| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_APP_METRO_INFOBAR_DELEGATE_WIN_H_ | 5 #ifndef CHROME_BROWSER_UI_APPS_APP_METRO_INFOBAR_DELEGATE_WIN_H_ |
| 6 #define CHROME_BROWSER_UI_EXTENSIONS_APP_METRO_INFOBAR_DELEGATE_WIN_H_ | 6 #define CHROME_BROWSER_UI_APPS_APP_METRO_INFOBAR_DELEGATE_WIN_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "chrome/browser/infobars/confirm_infobar_delegate.h" | 10 #include "chrome/browser/infobars/confirm_infobar_delegate.h" |
| 11 | 11 |
| 12 class InfoBarService; | 12 class InfoBarService; |
| 13 class Profile; | 13 class Profile; |
| 14 | 14 |
| 15 // This infobar operates by opening a new tab on about:blank, showing an | 15 // This infobar operates by opening a new tab on about:blank, showing an |
| 16 // infobar offering to relaunch the browser in metro mode, and then relaunching | 16 // infobar offering to relaunch the browser in metro mode, and then relaunching |
| (...skipping 25 matching lines...) Expand all Loading... |
| 42 virtual bool Cancel() OVERRIDE; | 42 virtual bool Cancel() OVERRIDE; |
| 43 virtual string16 GetLinkText() const OVERRIDE; | 43 virtual string16 GetLinkText() const OVERRIDE; |
| 44 virtual bool LinkClicked(WindowOpenDisposition disposition) OVERRIDE; | 44 virtual bool LinkClicked(WindowOpenDisposition disposition) OVERRIDE; |
| 45 | 45 |
| 46 Mode mode_; | 46 Mode mode_; |
| 47 std::string extension_id_; | 47 std::string extension_id_; |
| 48 | 48 |
| 49 DISALLOW_COPY_AND_ASSIGN(AppMetroInfoBarDelegateWin); | 49 DISALLOW_COPY_AND_ASSIGN(AppMetroInfoBarDelegateWin); |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 #endif // CHROME_BROWSER_UI_EXTENSIONS_APP_METRO_INFOBAR_DELEGATE_WIN_H_ | 52 #endif // CHROME_BROWSER_UI_APPS_APP_METRO_INFOBAR_DELEGATE_WIN_H_ |
| OLD | NEW |