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

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

Issue 10756018: Merge grd files in ui/resources and chrome/app/theme (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, *_standard.rc Created 8 years, 5 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 | Annotate | Revision Log
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 <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
(...skipping 12 matching lines...) Expand all
23 #include "chrome/browser/ui/global_error/global_error_service.h" 23 #include "chrome/browser/ui/global_error/global_error_service.h"
24 #include "chrome/browser/ui/global_error/global_error_service_factory.h" 24 #include "chrome/browser/ui/global_error/global_error_service_factory.h"
25 #include "chrome/common/chrome_notification_types.h" 25 #include "chrome/common/chrome_notification_types.h"
26 #include "chrome/common/extensions/extension.h" 26 #include "chrome/common/extensions/extension.h"
27 #include "content/public/browser/notification_details.h" 27 #include "content/public/browser/notification_details.h"
28 #include "content/public/browser/notification_observer.h" 28 #include "content/public/browser/notification_observer.h"
29 #include "content/public/browser/notification_registrar.h" 29 #include "content/public/browser/notification_registrar.h"
30 #include "content/public/browser/notification_source.h" 30 #include "content/public/browser/notification_source.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_standard.h" 33 #include "grit/theme_resources.h"
34 #include "ui/base/l10n/l10n_util.h" 34 #include "ui/base/l10n/l10n_util.h"
35 35
36 using extensions::Extension; 36 using extensions::Extension;
37 37
38 namespace { 38 namespace {
39 39
40 static base::LazyInstance< 40 static base::LazyInstance<
41 std::bitset<IDC_EXTENSION_DISABLED_LAST - 41 std::bitset<IDC_EXTENSION_DISABLED_LAST -
42 IDC_EXTENSION_DISABLED_FIRST + 1> > 42 IDC_EXTENSION_DISABLED_FIRST + 1> >
43 menu_command_ids = LAZY_INSTANCE_INITIALIZER; 43 menu_command_ids = LAZY_INSTANCE_INITIALIZER;
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 AddGlobalError(new ExtensionDisabledGlobalError(service, extension)); 318 AddGlobalError(new ExtensionDisabledGlobalError(service, extension));
319 } 319 }
320 320
321 void ShowExtensionDisabledDialog(ExtensionService* service, Browser* browser, 321 void ShowExtensionDisabledDialog(ExtensionService* service, Browser* browser,
322 const Extension* extension) { 322 const Extension* extension) {
323 // This object manages its own lifetime. 323 // This object manages its own lifetime.
324 new ExtensionDisabledDialogDelegate(browser, service, extension); 324 new ExtensionDisabledDialogDelegate(browser, service, extension);
325 } 325 }
326 326
327 } // namespace extensions 327 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/app_shortcut_manager.cc ('k') | chrome/browser/extensions/extension_icon_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698