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

Side by Side Diff: chrome/browser/extensions/extension_infobar_delegate.h

Issue 6598057: Split infobar_delegate.[cc,h] into separate pieces for the different classes defined within, so that (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix wrong include Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 7 #pragma once
8 8
9 #include "chrome/browser/tab_contents/infobar_delegate.h" 9 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h"
10 10
11 class Browser; 11 class Browser;
12 class Extension; 12 class Extension;
13 class ExtensionHost; 13 class ExtensionHost;
14 class TabContents; 14 class TabContents;
15 15
16 // The InfobarDelegate for creating and managing state for the ExtensionInfobar 16 // The InfobarDelegate for creating and managing state for the ExtensionInfobar
17 // plus monitor when the extension goes away. 17 // plus monitor when the extension goes away.
18 class ExtensionInfoBarDelegate : public InfoBarDelegate, 18 class ExtensionInfoBarDelegate : public InfoBarDelegate,
19 public NotificationObserver { 19 public NotificationObserver {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 NotificationRegistrar registrar_; 69 NotificationRegistrar registrar_;
70 70
71 // Whether we are currently animating to close. This is used to ignore 71 // Whether we are currently animating to close. This is used to ignore
72 // ExtensionView::PreferredSizeChanged notifications. 72 // ExtensionView::PreferredSizeChanged notifications.
73 bool closing_; 73 bool closing_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(ExtensionInfoBarDelegate); 75 DISALLOW_COPY_AND_ASSIGN(ExtensionInfoBarDelegate);
76 }; 76 };
77 77
78 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INFOBAR_DELEGATE_H_ 78 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INFOBAR_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698