| 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 "content/browser/plugin_service_impl.h" | 5 #include "content/browser/plugin_service_impl.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| (...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 834 GetPluginPropertyFromWindow( | 834 GetPluginPropertyFromWindow( |
| 835 window, kPluginVersionAtomProperty, plugin_version); | 835 window, kPluginVersionAtomProperty, plugin_version); |
| 836 return true; | 836 return true; |
| 837 } | 837 } |
| 838 | 838 |
| 839 bool PluginServiceImpl::IsPluginWindow(HWND window) { | 839 bool PluginServiceImpl::IsPluginWindow(HWND window) { |
| 840 return gfx::GetClassName(window) == base::string16(kNativeWindowClassName); | 840 return gfx::GetClassName(window) == base::string16(kNativeWindowClassName); |
| 841 } | 841 } |
| 842 #endif | 842 #endif |
| 843 | 843 |
| 844 bool PluginServiceImpl::PpapiDevChannelSupported() { |
| 845 return content::GetContentClient()->browser()-> |
| 846 IsPluginAllowedToUseDevChannelAPIs(); |
| 847 } |
| 848 |
| 844 } // namespace content | 849 } // namespace content |
| OLD | NEW |