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

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

Issue 6269009: Move loose extension files in c/b/ui/cocoa/ into the extensions/ subdir... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "app/l10n_util_mac.h" 9 #include "app/l10n_util_mac.h"
10 #include "app/resource_bundle.h" 10 #include "app/resource_bundle.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 UTF8ToUTF16(extension->name()))]; 42 UTF8ToUTF16(extension->name()))];
43 [alert setAlertStyle:NSWarningAlertStyle]; 43 [alert setAlertStyle:NSWarningAlertStyle];
44 [alert setIcon:gfx::SkBitmapToNSImage(*icon)]; 44 [alert setIcon:gfx::SkBitmapToNSImage(*icon)];
45 45
46 if ([alert runModal] == NSAlertFirstButtonReturn) { 46 if ([alert runModal] == NSAlertFirstButtonReturn) {
47 delegate->InstallUIProceed(); 47 delegate->InstallUIProceed();
48 } else { 48 } else {
49 delegate->InstallUIAbort(); 49 delegate->InstallUIAbort();
50 } 50 }
51 } 51 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/extension_view_mac.mm ('k') | chrome/browser/ui/cocoa/extensions/extension_installed_bubble_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698