| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_EXTENSIONS_EXTENSION_INFOBAR_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_INFOBAR_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INFOBAR_DELEGATE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INFOBAR_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h" | 9 #include "chrome/browser/api/infobars/confirm_infobar_delegate.h" |
| 10 #include "content/public/browser/notification_observer.h" | 10 #include "content/public/browser/notification_observer.h" |
| 11 #include "content/public/browser/notification_registrar.h" | 11 #include "content/public/browser/notification_registrar.h" |
| 12 | 12 |
| 13 class Browser; | 13 class Browser; |
| 14 class GURL; | 14 class GURL; |
| 15 | 15 |
| 16 namespace extensions { | 16 namespace extensions { |
| 17 class Extension; | 17 class Extension; |
| 18 class ExtensionHost; | 18 class ExtensionHost; |
| 19 } | 19 } |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 int height_; | 79 int height_; |
| 80 | 80 |
| 81 // Whether we are currently animating to close. This is used to ignore | 81 // Whether we are currently animating to close. This is used to ignore |
| 82 // ExtensionView::PreferredSizeChanged notifications. | 82 // ExtensionView::PreferredSizeChanged notifications. |
| 83 bool closing_; | 83 bool closing_; |
| 84 | 84 |
| 85 DISALLOW_COPY_AND_ASSIGN(ExtensionInfoBarDelegate); | 85 DISALLOW_COPY_AND_ASSIGN(ExtensionInfoBarDelegate); |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INFOBAR_DELEGATE_H_ | 88 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INFOBAR_DELEGATE_H_ |
| OLD | NEW |