| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef NavigatorPlugins_h | 5 #ifndef NavigatorPlugins_h |
| 6 #define NavigatorPlugins_h | 6 #define NavigatorPlugins_h |
| 7 | 7 |
| 8 #include "core/frame/DOMWindowProperty.h" | 8 #include "core/frame/DOMWindowProperty.h" |
| 9 #include "platform/Supplementable.h" | 9 #include "platform/Supplementable.h" |
| 10 | 10 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 DECLARE_VIRTUAL_TRACE(); | 30 DECLARE_VIRTUAL_TRACE(); |
| 31 | 31 |
| 32 private: | 32 private: |
| 33 explicit NavigatorPlugins(Navigator&); | 33 explicit NavigatorPlugins(Navigator&); |
| 34 | 34 |
| 35 static const char* supplementName(); | 35 static const char* supplementName(); |
| 36 | 36 |
| 37 DOMPluginArray* plugins(LocalFrame*) const; | 37 DOMPluginArray* plugins(LocalFrame*) const; |
| 38 DOMMimeTypeArray* mimeTypes(LocalFrame*) const; | 38 DOMMimeTypeArray* mimeTypes(LocalFrame*) const; |
| 39 bool javaEnabled(LocalFrame*) const; | |
| 40 | 39 |
| 41 mutable Member<DOMPluginArray> m_plugins; | 40 mutable Member<DOMPluginArray> m_plugins; |
| 42 mutable Member<DOMMimeTypeArray> m_mimeTypes; | 41 mutable Member<DOMMimeTypeArray> m_mimeTypes; |
| 43 }; | 42 }; |
| 44 | 43 |
| 45 } // namespace blink | 44 } // namespace blink |
| 46 | 45 |
| 47 #endif // NavigatorPlugins_h | 46 #endif // NavigatorPlugins_h |
| OLD | NEW |