| OLD | NEW |
| 1 // Copyright (c) 2011 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/pdf_unsupported_feature.h" | 5 #include "chrome/browser/ui/pdf/pdf_unsupported_feature.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 #include "base/values.h" | 9 #include "base/values.h" |
| 10 #include "base/version.h" | 10 #include "base/version.h" |
| 11 #include "chrome/browser/chrome_plugin_service_filter.h" | 11 #include "chrome/browser/chrome_plugin_service_filter.h" |
| 12 #include "chrome/browser/infobars/infobar_tab_helper.h" | 12 #include "chrome/browser/infobars/infobar_tab_helper.h" |
| 13 #include "chrome/browser/plugin_prefs.h" | 13 #include "chrome/browser/plugin_prefs.h" |
| 14 #include "chrome/browser/prefs/pref_service.h" | 14 #include "chrome/browser/prefs/pref_service.h" |
| 15 #include "chrome/browser/profiles/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
| (...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 // Only works for Windows for now. For Mac, we'll have to launch the file | 398 // Only works for Windows for now. For Mac, we'll have to launch the file |
| 399 // externally since Adobe Reader doesn't work inside Chrome. | 399 // externally since Adobe Reader doesn't work inside Chrome. |
| 400 return; | 400 return; |
| 401 #endif | 401 #endif |
| 402 | 402 |
| 403 PluginService::GetInstance()->GetPluginGroups( | 403 PluginService::GetInstance()->GetPluginGroups( |
| 404 base::Bind(&GotPluginGroupsCallback, | 404 base::Bind(&GotPluginGroupsCallback, |
| 405 tab->render_view_host()->process()->GetID(), | 405 tab->render_view_host()->process()->GetID(), |
| 406 tab->render_view_host()->routing_id())); | 406 tab->render_view_host()->routing_id())); |
| 407 } | 407 } |
| OLD | NEW |