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

Side by Side Diff: chrome/browser/ui/cocoa/extensions/extension_uninstall_dialog_cocoa.mm

Issue 498773003: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (part 2 … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_uninstall_dialog.h" 5 #include "chrome/browser/extensions/extension_uninstall_dialog.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/strings/sys_string_conversions.h" 11 #include "base/strings/sys_string_conversions.h"
12 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
13 #include "chrome/grit/generated_resources.h"
13 #include "extensions/common/extension.h" 14 #include "extensions/common/extension.h"
14 #include "grit/generated_resources.h"
15 #include "skia/ext/skia_utils_mac.h" 15 #include "skia/ext/skia_utils_mac.h"
16 #include "ui/base/l10n/l10n_util_mac.h" 16 #include "ui/base/l10n/l10n_util_mac.h"
17 #include "ui/gfx/image/image_skia_util_mac.h" 17 #include "ui/gfx/image/image_skia_util_mac.h"
18 18
19 namespace { 19 namespace {
20 20
21 // The Cocoa implementation of ExtensionUninstallDialog. This has a less 21 // The Cocoa implementation of ExtensionUninstallDialog. This has a less
22 // complex life cycle than the Views and GTK implementations because the 22 // complex life cycle than the Views and GTK implementations because the
23 // dialog blocks the page from navigating away and destroying the dialog, 23 // dialog blocks the page from navigating away and destroying the dialog,
24 // so there's no way for the dialog to outlive its delegate. 24 // so there's no way for the dialog to outlive its delegate.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 } // namespace 69 } // namespace
70 70
71 // static 71 // static
72 extensions::ExtensionUninstallDialog* 72 extensions::ExtensionUninstallDialog*
73 extensions::ExtensionUninstallDialog::Create(Profile* profile, 73 extensions::ExtensionUninstallDialog::Create(Profile* profile,
74 gfx::NativeWindow parent, 74 gfx::NativeWindow parent,
75 Delegate* delegate) { 75 Delegate* delegate) {
76 return new ExtensionUninstallDialogCocoa(profile, parent, delegate); 76 return new ExtensionUninstallDialogCocoa(profile, parent, delegate);
77 } 77 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698