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

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

Issue 8539010: Cleanup: Remove unneeded forward declarations from chrome/browser/extensions. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove the speech file that ran away, I will get it later Created 9 years, 1 month 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 "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h" 10 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h"
11 #include "content/public/browser/notification_observer.h" 11 #include "content/public/browser/notification_observer.h"
12 #include "content/public/browser/notification_registrar.h" 12 #include "content/public/browser/notification_registrar.h"
13 13
14 class Browser; 14 class Browser;
15 class Extension; 15 class Extension;
16 class ExtensionHost; 16 class ExtensionHost;
17 class GURL; 17 class GURL;
18 class Profile;
19 18
20 // The InfobarDelegate for creating and managing state for the ExtensionInfobar 19 // The InfobarDelegate for creating and managing state for the ExtensionInfobar
21 // plus monitor when the extension goes away. 20 // plus monitor when the extension goes away.
22 class ExtensionInfoBarDelegate : public InfoBarDelegate, 21 class ExtensionInfoBarDelegate : public InfoBarDelegate,
23 public content::NotificationObserver { 22 public content::NotificationObserver {
24 public: 23 public:
25 // The observer for when the delegate dies. 24 // The observer for when the delegate dies.
26 class DelegateObserver { 25 class DelegateObserver {
27 public: 26 public:
28 virtual void OnDelegateDeleted() = 0; 27 virtual void OnDelegateDeleted() = 0;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 int height_; 77 int height_;
79 78
80 // Whether we are currently animating to close. This is used to ignore 79 // Whether we are currently animating to close. This is used to ignore
81 // ExtensionView::PreferredSizeChanged notifications. 80 // ExtensionView::PreferredSizeChanged notifications.
82 bool closing_; 81 bool closing_;
83 82
84 DISALLOW_COPY_AND_ASSIGN(ExtensionInfoBarDelegate); 83 DISALLOW_COPY_AND_ASSIGN(ExtensionInfoBarDelegate);
85 }; 84 };
86 85
87 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INFOBAR_DELEGATE_H_ 86 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INFOBAR_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_host.h ('k') | chrome/browser/extensions/extension_input_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698