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

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

Issue 832953002: Cleanup: Update the path to gfx size headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 11 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/notification_types.h" 38 #include "extensions/browser/notification_types.h"
39 #include "extensions/browser/uninstall_reason.h" 39 #include "extensions/browser/uninstall_reason.h"
40 #include "extensions/common/constants.h" 40 #include "extensions/common/constants.h"
41 #include "extensions/common/extension.h" 41 #include "extensions/common/extension.h"
42 #include "extensions/common/extension_icon_set.h" 42 #include "extensions/common/extension_icon_set.h"
43 #include "extensions/common/manifest_handlers/icons_handler.h" 43 #include "extensions/common/manifest_handlers/icons_handler.h"
44 #include "extensions/common/permissions/permission_message_provider.h" 44 #include "extensions/common/permissions/permission_message_provider.h"
45 #include "extensions/common/permissions/permission_set.h" 45 #include "extensions/common/permissions/permission_set.h"
46 #include "extensions/common/permissions/permissions_data.h" 46 #include "extensions/common/permissions/permissions_data.h"
47 #include "ui/base/l10n/l10n_util.h" 47 #include "ui/base/l10n/l10n_util.h"
48 #include "ui/gfx/geometry/size.h"
48 #include "ui/gfx/image/image.h" 49 #include "ui/gfx/image/image.h"
49 #include "ui/gfx/image/image_skia_operations.h" 50 #include "ui/gfx/image/image_skia_operations.h"
50 #include "ui/gfx/size.h"
51 51
52 using extensions::Extension; 52 using extensions::Extension;
53 53
54 namespace { 54 namespace {
55 55
56 static const int kIconSize = extension_misc::EXTENSION_ICON_SMALL; 56 static const int kIconSize = extension_misc::EXTENSION_ICON_SMALL;
57 57
58 static base::LazyInstance< 58 static base::LazyInstance<
59 std::bitset<IDC_EXTENSION_DISABLED_LAST - 59 std::bitset<IDC_EXTENSION_DISABLED_LAST -
60 IDC_EXTENSION_DISABLED_FIRST + 1> > 60 IDC_EXTENSION_DISABLED_FIRST + 1> >
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 void ShowExtensionDisabledDialog(ExtensionService* service, 437 void ShowExtensionDisabledDialog(ExtensionService* service,
438 content::WebContents* web_contents, 438 content::WebContents* web_contents,
439 const Extension* extension) { 439 const Extension* extension) {
440 scoped_ptr<ExtensionInstallPrompt> install_ui( 440 scoped_ptr<ExtensionInstallPrompt> install_ui(
441 new ExtensionInstallPrompt(web_contents)); 441 new ExtensionInstallPrompt(web_contents));
442 // This object manages its own lifetime. 442 // This object manages its own lifetime.
443 new ExtensionDisabledDialogDelegate(service, install_ui.Pass(), extension); 443 new ExtensionDisabledDialogDelegate(service, install_ui.Pass(), extension);
444 } 444 }
445 445
446 } // namespace extensions 446 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_action.cc ('k') | chrome/browser/extensions/extension_icon_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698