| OLD | NEW |
| 1 // Copyright (c) 2010 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 // Currently this file is only used for the uninstall prompt. The install prompt | 5 // Currently this file is only used for the uninstall prompt. The install prompt |
| 6 // code is in extension_install_prompt2_gtk.cc. | 6 // code is in extension_install_prompt2_gtk.cc. |
| 7 | 7 |
| 8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
| 9 | 9 |
| 10 #include "app/l10n_util.h" | 10 #include "app/l10n_util.h" |
| 11 #include "base/string_util.h" | 11 #include "base/string_util.h" |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 BrowserWindowGtk* browser_window = static_cast<BrowserWindowGtk*>( | 101 BrowserWindowGtk* browser_window = static_cast<BrowserWindowGtk*>( |
| 102 browser->window()); | 102 browser->window()); |
| 103 if (!browser_window) { | 103 if (!browser_window) { |
| 104 delegate->InstallUIAbort(); | 104 delegate->InstallUIAbort(); |
| 105 return; | 105 return; |
| 106 } | 106 } |
| 107 | 107 |
| 108 ShowInstallPromptDialog(browser_window->window(), icon, extension, delegate, | 108 ShowInstallPromptDialog(browser_window->window(), icon, extension, delegate, |
| 109 type); | 109 type); |
| 110 } | 110 } |
| OLD | NEW |