| 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 #include "chrome/browser/gtk/create_application_shortcuts_dialog_gtk.h" | 5 #include "chrome/browser/gtk/create_application_shortcuts_dialog_gtk.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
| 10 #include "base/environment.h" | 10 #include "base/environment.h" |
| 11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 SkBitmap* image, ExtensionResource resource, int index) { | 321 SkBitmap* image, ExtensionResource resource, int index) { |
| 322 if (image->isNull()) { | 322 if (image->isNull()) { |
| 323 NOTREACHED() << "Corrupt image in profile?"; | 323 NOTREACHED() << "Corrupt image in profile?"; |
| 324 return; | 324 return; |
| 325 } | 325 } |
| 326 shortcut_info_.favicon = *image; | 326 shortcut_info_.favicon = *image; |
| 327 | 327 |
| 328 CreateIconPixBuf(*image); | 328 CreateIconPixBuf(*image); |
| 329 CreateDialogBox(parent_); | 329 CreateDialogBox(parent_); |
| 330 } | 330 } |
| OLD | NEW |