OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 14 matching lines...) Expand all Loading... |
25 #elif defined(TOOLKIT_GTK) | 25 #elif defined(TOOLKIT_GTK) |
26 #include "chrome/browser/gtk/extension_installed_bubble_gtk.h" | 26 #include "chrome/browser/gtk/extension_installed_bubble_gtk.h" |
27 #endif | 27 #endif |
28 #include "chrome/common/chrome_switches.h" | 28 #include "chrome/common/chrome_switches.h" |
29 #include "chrome/common/extensions/extension.h" | 29 #include "chrome/common/extensions/extension.h" |
30 #include "chrome/common/extensions/extension_action.h" | 30 #include "chrome/common/extensions/extension_action.h" |
31 #include "chrome/common/extensions/extension_resource.h" | 31 #include "chrome/common/extensions/extension_resource.h" |
32 #include "chrome/common/extensions/url_pattern.h" | 32 #include "chrome/common/extensions/url_pattern.h" |
33 #include "chrome/common/notification_service.h" | 33 #include "chrome/common/notification_service.h" |
34 #include "chrome/common/url_constants.h" | 34 #include "chrome/common/url_constants.h" |
35 #include "grit/browser_resources.h" | |
36 #include "grit/chromium_strings.h" | 35 #include "grit/chromium_strings.h" |
37 #include "grit/generated_resources.h" | 36 #include "grit/generated_resources.h" |
38 #include "grit/theme_resources.h" | 37 #include "grit/theme_resources.h" |
39 | 38 |
40 #if defined(TOOLKIT_GTK) | 39 #if defined(TOOLKIT_GTK) |
41 #include "chrome/browser/extensions/gtk_theme_installed_infobar_delegate.h" | 40 #include "chrome/browser/extensions/gtk_theme_installed_infobar_delegate.h" |
42 #include "chrome/browser/gtk/gtk_theme_provider.h" | 41 #include "chrome/browser/gtk/gtk_theme_provider.h" |
43 #endif | 42 #endif |
44 | 43 |
45 #if defined(OS_MACOSX) | 44 #if defined(OS_MACOSX) |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 TabContents* tab_contents, Extension* new_theme, | 386 TabContents* tab_contents, Extension* new_theme, |
388 const std::string& previous_theme_id, bool previous_use_system_theme) { | 387 const std::string& previous_theme_id, bool previous_use_system_theme) { |
389 #if defined(TOOLKIT_GTK) | 388 #if defined(TOOLKIT_GTK) |
390 return new GtkThemeInstalledInfoBarDelegate(tab_contents, new_theme, | 389 return new GtkThemeInstalledInfoBarDelegate(tab_contents, new_theme, |
391 previous_theme_id, previous_use_system_theme); | 390 previous_theme_id, previous_use_system_theme); |
392 #else | 391 #else |
393 return new ThemeInstalledInfoBarDelegate(tab_contents, new_theme, | 392 return new ThemeInstalledInfoBarDelegate(tab_contents, new_theme, |
394 previous_theme_id); | 393 previous_theme_id); |
395 #endif | 394 #endif |
396 } | 395 } |
OLD | NEW |