| OLD | NEW |
| 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 #include "chrome/browser/views/extensions/extension_installed_bubble.h" | 5 #include "chrome/browser/views/extensions/extension_installed_bubble.h" |
| 6 | 6 |
| 7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
| 8 #include "app/resource_bundle.h" | 8 #include "app/resource_bundle.h" |
| 9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
| 10 #include "base/utf_string_conversions.h" |
| 10 #include "chrome/browser/browser.h" | 11 #include "chrome/browser/browser.h" |
| 11 #include "chrome/browser/browser_window.h" | 12 #include "chrome/browser/browser_window.h" |
| 12 #include "chrome/browser/profile.h" | 13 #include "chrome/browser/profile.h" |
| 13 #include "chrome/browser/shell_integration.h" | 14 #include "chrome/browser/shell_integration.h" |
| 14 #include "chrome/browser/views/browser_actions_container.h" | 15 #include "chrome/browser/views/browser_actions_container.h" |
| 15 #include "chrome/browser/views/frame/browser_view.h" | 16 #include "chrome/browser/views/frame/browser_view.h" |
| 16 #include "chrome/browser/views/location_bar/location_bar_view.h" | 17 #include "chrome/browser/views/location_bar/location_bar_view.h" |
| 17 #include "chrome/browser/views/tabs/base_tab.h" | 18 #include "chrome/browser/views/tabs/base_tab.h" |
| 18 #include "chrome/browser/views/tabs/base_tab_strip.h" | 19 #include "chrome/browser/views/tabs/base_tab_strip.h" |
| 19 #include "chrome/browser/views/toolbar_view.h" | 20 #include "chrome/browser/views/toolbar_view.h" |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 shortcut_info.create_on_desktop = true; | 371 shortcut_info.create_on_desktop = true; |
| 371 shortcut_info.create_in_applications_menu = false; | 372 shortcut_info.create_in_applications_menu = false; |
| 372 shortcut_info.create_in_quick_launch_bar = false; | 373 shortcut_info.create_in_quick_launch_bar = false; |
| 373 web_app::CreateShortcut(browser_->profile()->GetPath(), shortcut_info, | 374 web_app::CreateShortcut(browser_->profile()->GetPath(), shortcut_info, |
| 374 NULL); | 375 NULL); |
| 375 } | 376 } |
| 376 } | 377 } |
| 377 | 378 |
| 378 Release(); // Balanced in ctor. | 379 Release(); // Balanced in ctor. |
| 379 } | 380 } |
| OLD | NEW |