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

Side by Side Diff: chrome/browser/extensions/extension_disabled_ui.cc

Issue 514493002: Cleanup: Remove unneeded grit include in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@grit_clean_chromium_strings_401588_a
Patch Set: rebase Created 6 years, 3 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) 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_disabled_ui.h" 5 #include "chrome/browser/extensions/extension_disabled_ui.h"
6 6
7 #include <bitset> 7 #include <bitset>
8 #include <string> 8 #include <string>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 27 matching lines...) Expand all
38 #include "extensions/browser/image_loader.h" 38 #include "extensions/browser/image_loader.h"
39 #include "extensions/browser/notification_types.h" 39 #include "extensions/browser/notification_types.h"
40 #include "extensions/browser/uninstall_reason.h" 40 #include "extensions/browser/uninstall_reason.h"
41 #include "extensions/common/constants.h" 41 #include "extensions/common/constants.h"
42 #include "extensions/common/extension.h" 42 #include "extensions/common/extension.h"
43 #include "extensions/common/extension_icon_set.h" 43 #include "extensions/common/extension_icon_set.h"
44 #include "extensions/common/manifest_handlers/icons_handler.h" 44 #include "extensions/common/manifest_handlers/icons_handler.h"
45 #include "extensions/common/permissions/permission_message_provider.h" 45 #include "extensions/common/permissions/permission_message_provider.h"
46 #include "extensions/common/permissions/permission_set.h" 46 #include "extensions/common/permissions/permission_set.h"
47 #include "extensions/common/permissions/permissions_data.h" 47 #include "extensions/common/permissions/permissions_data.h"
48 #include "grit/theme_resources.h"
49 #include "ui/base/l10n/l10n_util.h" 48 #include "ui/base/l10n/l10n_util.h"
50 #include "ui/gfx/image/image.h" 49 #include "ui/gfx/image/image.h"
51 #include "ui/gfx/image/image_skia_operations.h" 50 #include "ui/gfx/image/image_skia_operations.h"
52 #include "ui/gfx/size.h" 51 #include "ui/gfx/size.h"
53 52
54 using extensions::Extension; 53 using extensions::Extension;
55 54
56 namespace { 55 namespace {
57 56
58 static const int kIconSize = extension_misc::EXTENSION_ICON_SMALL; 57 static const int kIconSize = extension_misc::EXTENSION_ICON_SMALL;
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 void ShowExtensionDisabledDialog(ExtensionService* service, 438 void ShowExtensionDisabledDialog(ExtensionService* service,
440 content::WebContents* web_contents, 439 content::WebContents* web_contents,
441 const Extension* extension) { 440 const Extension* extension) {
442 scoped_ptr<ExtensionInstallPrompt> install_ui( 441 scoped_ptr<ExtensionInstallPrompt> install_ui(
443 new ExtensionInstallPrompt(web_contents)); 442 new ExtensionInstallPrompt(web_contents));
444 // This object manages its own lifetime. 443 // This object manages its own lifetime.
445 new ExtensionDisabledDialogDelegate(service, install_ui.Pass(), extension); 444 new ExtensionDisabledDialogDelegate(service, install_ui.Pass(), extension);
446 } 445 }
447 446
448 } // namespace extensions 447 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698