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

Side by Side Diff: chrome/browser/extensions/theme_installed_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
« no previous file with comments | « chrome/browser/extensions/settings/settings_frontend.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_THEME_INSTALLED_INFOBAR_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_THEME_INSTALLED_INFOBAR_DELEGATE_H_
6 #define CHROME_BROWSER_EXTENSIONS_THEME_INSTALLED_INFOBAR_DELEGATE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_THEME_INSTALLED_INFOBAR_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string>
10
9 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
10 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h" 12 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h"
11 #include "content/public/browser/notification_observer.h" 13 #include "content/public/browser/notification_observer.h"
12 #include "content/public/browser/notification_registrar.h" 14 #include "content/public/browser/notification_registrar.h"
13 15
14 class Extension; 16 class Extension;
15 class ExtensionService; 17 class ExtensionService;
16 class SkBitmap;
17 class ThemeService; 18 class ThemeService;
18 19
19 // When a user installs a theme, we display it immediately, but provide an 20 // When a user installs a theme, we display it immediately, but provide an
20 // infobar allowing them to cancel. 21 // infobar allowing them to cancel.
21 class ThemeInstalledInfoBarDelegate : public ConfirmInfoBarDelegate, 22 class ThemeInstalledInfoBarDelegate : public ConfirmInfoBarDelegate,
22 public content::NotificationObserver { 23 public content::NotificationObserver {
23 public: 24 public:
24 ThemeInstalledInfoBarDelegate(InfoBarTabHelper* infobar_helper, 25 ThemeInstalledInfoBarDelegate(InfoBarTabHelper* infobar_helper,
25 ExtensionService* extension_service, 26 ExtensionService* extension_service,
26 ThemeService* theme_service, 27 ThemeService* theme_service,
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 67
67 // Used to undo theme install. 68 // Used to undo theme install.
68 std::string previous_theme_id_; 69 std::string previous_theme_id_;
69 bool previous_using_native_theme_; 70 bool previous_using_native_theme_;
70 71
71 // Registers and unregisters us for notifications. 72 // Registers and unregisters us for notifications.
72 content::NotificationRegistrar registrar_; 73 content::NotificationRegistrar registrar_;
73 }; 74 };
74 75
75 #endif // CHROME_BROWSER_EXTENSIONS_THEME_INSTALLED_INFOBAR_DELEGATE_H_ 76 #endif // CHROME_BROWSER_EXTENSIONS_THEME_INSTALLED_INFOBAR_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/settings/settings_frontend.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698