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

Side by Side Diff: chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc

Issue 301063003: Resized the icon in the Uninstall dialog to be 64x64 px (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nit Created 6 years, 6 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_uninstall_dialog.h" 5 #include "chrome/browser/extensions/extension_uninstall_dialog.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 13 matching lines...) Expand all
24 #include "ui/views/widget/widget.h" 24 #include "ui/views/widget/widget.h"
25 #include "ui/views/window/dialog_delegate.h" 25 #include "ui/views/window/dialog_delegate.h"
26 26
27 #if defined(USE_ASH) 27 #if defined(USE_ASH)
28 #include "ash/shell.h" 28 #include "ash/shell.h"
29 #endif 29 #endif
30 30
31 namespace { 31 namespace {
32 32
33 const int kRightColumnWidth = 210; 33 const int kRightColumnWidth = 210;
34 const int kIconSize = 69; 34 const int kIconSize = 64;
35 35
36 class ExtensionUninstallDialogDelegateView; 36 class ExtensionUninstallDialogDelegateView;
37 37
38 // Returns parent window for extension uninstall dialog. 38 // Returns parent window for extension uninstall dialog.
39 gfx::NativeWindow GetParent(Browser* browser) { 39 gfx::NativeWindow GetParent(Browser* browser) {
40 if (browser && browser->window()) 40 if (browser && browser->window())
41 return browser->window()->GetNativeWindow(); 41 return browser->window()->GetNativeWindow();
42 return NULL; 42 return NULL;
43 } 43 }
44 44
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 244
245 } // namespace 245 } // namespace
246 246
247 // static 247 // static
248 ExtensionUninstallDialog* ExtensionUninstallDialog::Create( 248 ExtensionUninstallDialog* ExtensionUninstallDialog::Create(
249 Profile* profile, 249 Profile* profile,
250 Browser* browser, 250 Browser* browser,
251 Delegate* delegate) { 251 Delegate* delegate) {
252 return new ExtensionUninstallDialogViews(profile, browser, delegate); 252 return new ExtensionUninstallDialogViews(profile, browser, delegate);
253 } 253 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698