OLD | NEW |
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/plugins/plugin_infobar_delegates.h" | 5 #include "chrome/browser/plugins/plugin_infobar_delegates.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "chrome/browser/content_settings/host_content_settings_map.h" | 10 #include "chrome/browser/content_settings/host_content_settings_map.h" |
11 #include "chrome/browser/google/google_util.h" | |
12 #include "chrome/browser/infobars/infobar_service.h" | 11 #include "chrome/browser/infobars/infobar_service.h" |
13 #include "chrome/browser/lifetime/application_lifetime.h" | 12 #include "chrome/browser/lifetime/application_lifetime.h" |
14 #include "chrome/browser/plugins/chrome_plugin_service_filter.h" | 13 #include "chrome/browser/plugins/chrome_plugin_service_filter.h" |
15 #include "chrome/browser/plugins/plugin_metadata.h" | 14 #include "chrome/browser/plugins/plugin_metadata.h" |
16 #include "chrome/browser/profiles/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
17 #include "chrome/browser/shell_integration.h" | 16 #include "chrome/browser/shell_integration.h" |
18 #include "chrome/browser/ui/browser_commands.h" | 17 #include "chrome/browser/ui/browser_commands.h" |
19 #include "chrome/common/url_constants.h" | 18 #include "chrome/common/url_constants.h" |
| 19 #include "components/google/core/browser/google_util.h" |
20 #include "components/infobars/core/infobar.h" | 20 #include "components/infobars/core/infobar.h" |
21 #include "content/public/browser/render_process_host.h" | 21 #include "content/public/browser/render_process_host.h" |
22 #include "content/public/browser/render_view_host.h" | 22 #include "content/public/browser/render_view_host.h" |
23 #include "content/public/browser/user_metrics.h" | 23 #include "content/public/browser/user_metrics.h" |
24 #include "content/public/browser/web_contents.h" | 24 #include "content/public/browser/web_contents.h" |
25 #include "grit/generated_resources.h" | 25 #include "grit/generated_resources.h" |
26 #include "grit/locale_settings.h" | 26 #include "grit/locale_settings.h" |
27 #include "grit/theme_resources.h" | 27 #include "grit/theme_resources.h" |
28 #include "ui/base/l10n/l10n_util.h" | 28 #include "ui/base/l10n/l10n_util.h" |
29 | 29 |
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
527 "https://support.google.com/chrome/?p=ib_redirect_to_desktop"), | 527 "https://support.google.com/chrome/?p=ib_redirect_to_desktop"), |
528 content::Referrer(), | 528 content::Referrer(), |
529 (disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition, | 529 (disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition, |
530 content::PAGE_TRANSITION_LINK, false)); | 530 content::PAGE_TRANSITION_LINK, false)); |
531 return false; | 531 return false; |
532 } | 532 } |
533 | 533 |
534 #endif // defined(OS_WIN) | 534 #endif // defined(OS_WIN) |
535 | 535 |
536 #endif // defined(ENABLE_PLUGIN_INSTALLATION) | 536 #endif // defined(ENABLE_PLUGIN_INSTALLATION) |
OLD | NEW |