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/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 #include "chrome/browser/content_settings/host_content_settings_map.h" | 8 #include "chrome/browser/content_settings/host_content_settings_map.h" |
9 #include "chrome/browser/google/google_util.h" | 9 #include "chrome/browser/google/google_util.h" |
10 #include "chrome/browser/infobars/infobar_service.h" | 10 #include "chrome/browser/infobars/infobar_service.h" |
11 #include "chrome/browser/lifetime/application_lifetime.h" | 11 #include "chrome/browser/lifetime/application_lifetime.h" |
12 #include "chrome/browser/plugins/chrome_plugin_service_filter.h" | 12 #include "chrome/browser/plugins/chrome_plugin_service_filter.h" |
13 #include "chrome/browser/plugins/plugin_metadata.h" | 13 #include "chrome/browser/plugins/plugin_metadata.h" |
14 #include "chrome/browser/profiles/profile.h" | 14 #include "chrome/browser/profiles/profile.h" |
15 #include "chrome/common/render_messages.h" | 15 #include "chrome/common/render_messages.h" |
16 #include "chrome/common/url_constants.h" | 16 #include "chrome/common/url_constants.h" |
17 #include "content/public/browser/render_process_host.h" | 17 #include "content/public/browser/render_process_host.h" |
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
554 Referrer(), | 554 Referrer(), |
555 (disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition, | 555 (disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition, |
556 content::PAGE_TRANSITION_LINK, false); | 556 content::PAGE_TRANSITION_LINK, false); |
557 web_contents()->OpenURL(params); | 557 web_contents()->OpenURL(params); |
558 return false; | 558 return false; |
559 } | 559 } |
560 | 560 |
561 #endif // defined(OS_WIN) | 561 #endif // defined(OS_WIN) |
562 | 562 |
563 #endif // defined(ENABLE_PLUGIN_INSTALLATION) | 563 #endif // defined(ENABLE_PLUGIN_INSTALLATION) |
OLD | NEW |