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 #include "chrome/browser/extensions/extension_install_ui.h" | 5 #include "chrome/browser/extensions/extension_install_ui.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 | 8 |
9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
10 #include "app/resource_bundle.h" | 10 #include "app/resource_bundle.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 #include "chrome/common/extensions/extension_icon_set.h" | 26 #include "chrome/common/extensions/extension_icon_set.h" |
27 #include "chrome/common/extensions/extension_resource.h" | 27 #include "chrome/common/extensions/extension_resource.h" |
28 #include "chrome/common/extensions/url_pattern.h" | 28 #include "chrome/common/extensions/url_pattern.h" |
29 #include "chrome/common/notification_service.h" | 29 #include "chrome/common/notification_service.h" |
30 #include "chrome/common/url_constants.h" | 30 #include "chrome/common/url_constants.h" |
31 #include "grit/chromium_strings.h" | 31 #include "grit/chromium_strings.h" |
32 #include "grit/generated_resources.h" | 32 #include "grit/generated_resources.h" |
33 #include "grit/theme_resources.h" | 33 #include "grit/theme_resources.h" |
34 | 34 |
35 #if defined(OS_MACOSX) | 35 #if defined(OS_MACOSX) |
36 #include "chrome/browser/ui/cocoa/extension_installed_bubble_bridge.h" | 36 #include "chrome/browser/ui/cocoa/extensions/extension_installed_bubble_bridge.h
" |
37 #endif | 37 #endif |
38 | 38 |
39 #if defined(TOOLKIT_VIEWS) | 39 #if defined(TOOLKIT_VIEWS) |
40 #include "chrome/browser/ui/views/extensions/extension_installed_bubble.h" | 40 #include "chrome/browser/ui/views/extensions/extension_installed_bubble.h" |
41 #endif | 41 #endif |
42 | 42 |
43 #if defined(TOOLKIT_GTK) | 43 #if defined(TOOLKIT_GTK) |
44 #include "chrome/browser/extensions/gtk_theme_installed_infobar_delegate.h" | 44 #include "chrome/browser/extensions/gtk_theme_installed_infobar_delegate.h" |
45 #include "chrome/browser/gtk/extension_installed_bubble_gtk.h" | 45 #include "chrome/browser/gtk/extension_installed_bubble_gtk.h" |
46 #include "chrome/browser/gtk/gtk_theme_provider.h" | 46 #include "chrome/browser/gtk/gtk_theme_provider.h" |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 TabContents* tab_contents, const Extension* new_theme, | 313 TabContents* tab_contents, const Extension* new_theme, |
314 const std::string& previous_theme_id, bool previous_use_system_theme) { | 314 const std::string& previous_theme_id, bool previous_use_system_theme) { |
315 #if defined(TOOLKIT_GTK) | 315 #if defined(TOOLKIT_GTK) |
316 return new GtkThemeInstalledInfoBarDelegate(tab_contents, new_theme, | 316 return new GtkThemeInstalledInfoBarDelegate(tab_contents, new_theme, |
317 previous_theme_id, previous_use_system_theme); | 317 previous_theme_id, previous_use_system_theme); |
318 #else | 318 #else |
319 return new ThemeInstalledInfoBarDelegate(tab_contents, new_theme, | 319 return new ThemeInstalledInfoBarDelegate(tab_contents, new_theme, |
320 previous_theme_id); | 320 previous_theme_id); |
321 #endif | 321 #endif |
322 } | 322 } |
OLD | NEW |