OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_prompt.h" | 5 #include "chrome/browser/extensions/extension_install_prompt.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "chrome/browser/ui/tab_contents/tab_contents.h" | 22 #include "chrome/browser/ui/tab_contents/tab_contents.h" |
23 #include "chrome/common/chrome_switches.h" | 23 #include "chrome/common/chrome_switches.h" |
24 #include "chrome/common/extensions/extension.h" | 24 #include "chrome/common/extensions/extension.h" |
25 #include "chrome/common/extensions/extension_icon_set.h" | 25 #include "chrome/common/extensions/extension_icon_set.h" |
26 #include "chrome/common/extensions/extension_manifest_constants.h" | 26 #include "chrome/common/extensions/extension_manifest_constants.h" |
27 #include "chrome/common/extensions/extension_resource.h" | 27 #include "chrome/common/extensions/extension_resource.h" |
28 #include "chrome/common/extensions/extension_switch_utils.h" | 28 #include "chrome/common/extensions/extension_switch_utils.h" |
29 #include "chrome/common/extensions/url_pattern.h" | 29 #include "chrome/common/extensions/url_pattern.h" |
30 #include "grit/chromium_strings.h" | 30 #include "grit/chromium_strings.h" |
31 #include "grit/generated_resources.h" | 31 #include "grit/generated_resources.h" |
32 #include "grit/theme_resources.h" | 32 #include "grit/theme_resources_standard.h" |
33 #include "ui/base/l10n/l10n_util.h" | 33 #include "ui/base/l10n/l10n_util.h" |
34 #include "ui/base/resource/resource_bundle.h" | 34 #include "ui/base/resource/resource_bundle.h" |
35 #include "ui/gfx/image/image.h" | 35 #include "ui/gfx/image/image.h" |
36 | 36 |
37 #if defined(USE_ASH) | 37 #if defined(USE_ASH) |
38 #include "ash/shell.h" | 38 #include "ash/shell.h" |
39 #endif | 39 #endif |
40 | 40 |
41 using extensions::BundleInstaller; | 41 using extensions::BundleInstaller; |
42 using extensions::Extension; | 42 using extensions::Extension; |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 case BUNDLE_INSTALL_PROMPT: { | 401 case BUNDLE_INSTALL_PROMPT: { |
402 prompt_.set_bundle(bundle_); | 402 prompt_.set_bundle(bundle_); |
403 ShowExtensionInstallDialog(browser_, delegate_, prompt_); | 403 ShowExtensionInstallDialog(browser_, delegate_, prompt_); |
404 break; | 404 break; |
405 } | 405 } |
406 default: | 406 default: |
407 NOTREACHED() << "Unknown message"; | 407 NOTREACHED() << "Unknown message"; |
408 break; | 408 break; |
409 } | 409 } |
410 } | 410 } |
OLD | NEW |