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

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

Issue 2372243003: Remove a couple desktop infobar png assets. (Closed)
Patch Set: remove mac macro Created 4 years, 2 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
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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 26 matching lines...) Expand all
37 ThemeInstalledInfoBarDelegate(ExtensionService* extension_service, 37 ThemeInstalledInfoBarDelegate(ExtensionService* extension_service,
38 ThemeService* theme_service, 38 ThemeService* theme_service,
39 const extensions::Extension* new_theme, 39 const extensions::Extension* new_theme,
40 const std::string& previous_theme_id, 40 const std::string& previous_theme_id,
41 bool previous_using_system_theme); 41 bool previous_using_system_theme);
42 ~ThemeInstalledInfoBarDelegate() override; 42 ~ThemeInstalledInfoBarDelegate() override;
43 43
44 // ConfirmInfoBarDelegate: 44 // ConfirmInfoBarDelegate:
45 Type GetInfoBarType() const override; 45 Type GetInfoBarType() const override;
46 infobars::InfoBarDelegate::InfoBarIdentifier GetIdentifier() const override; 46 infobars::InfoBarDelegate::InfoBarIdentifier GetIdentifier() const override;
47 int GetIconId() const override;
48 gfx::VectorIconId GetVectorIconId() const override; 47 gfx::VectorIconId GetVectorIconId() const override;
49 ThemeInstalledInfoBarDelegate* AsThemePreviewInfobarDelegate() override; 48 ThemeInstalledInfoBarDelegate* AsThemePreviewInfobarDelegate() override;
50 base::string16 GetMessageText() const override; 49 base::string16 GetMessageText() const override;
51 int GetButtons() const override; 50 int GetButtons() const override;
52 base::string16 GetButtonLabel(InfoBarButton button) const override; 51 base::string16 GetButtonLabel(InfoBarButton button) const override;
53 bool Cancel() override; 52 bool Cancel() override;
54 53
55 // content::NotificationObserver: 54 // content::NotificationObserver:
56 void Observe(int type, 55 void Observe(int type,
57 const content::NotificationSource& source, 56 const content::NotificationSource& source,
(...skipping 10 matching lines...) Expand all
68 67
69 // Used to undo theme install. 68 // Used to undo theme install.
70 std::string previous_theme_id_; 69 std::string previous_theme_id_;
71 bool previous_using_system_theme_; 70 bool previous_using_system_theme_;
72 71
73 // Registers and unregisters us for notifications. 72 // Registers and unregisters us for notifications.
74 content::NotificationRegistrar registrar_; 73 content::NotificationRegistrar registrar_;
75 }; 74 };
76 75
77 #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/app/theme/theme_resources.grd ('k') | chrome/browser/extensions/theme_installed_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698