OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | |
8 | 7 |
9 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
10 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h" | 9 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h" |
11 #include "content/public/browser/notification_observer.h" | 10 #include "content/public/browser/notification_observer.h" |
12 #include "content/public/browser/notification_registrar.h" | 11 #include "content/public/browser/notification_registrar.h" |
13 | 12 |
14 class Browser; | 13 class Browser; |
15 class ExtensionHost; | 14 class ExtensionHost; |
16 class GURL; | 15 class GURL; |
17 | 16 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 int height_; | 79 int height_; |
81 | 80 |
82 // 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 |
83 // ExtensionView::PreferredSizeChanged notifications. | 82 // ExtensionView::PreferredSizeChanged notifications. |
84 bool closing_; | 83 bool closing_; |
85 | 84 |
86 DISALLOW_COPY_AND_ASSIGN(ExtensionInfoBarDelegate); | 85 DISALLOW_COPY_AND_ASSIGN(ExtensionInfoBarDelegate); |
87 }; | 86 }; |
88 | 87 |
89 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INFOBAR_DELEGATE_H_ | 88 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INFOBAR_DELEGATE_H_ |
OLD | NEW |