Chromium Code Reviews| Index: third_party/WebKit/Source/core/frame/LocalFrame.h |
| diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.h b/third_party/WebKit/Source/core/frame/LocalFrame.h |
| index 47e9082e168a5930ac9548c9bdc6f8c03a8ef10c..97a6bcf3cf0b3a247b4b21b5a593279f82e54809 100644 |
| --- a/third_party/WebKit/Source/core/frame/LocalFrame.h |
| +++ b/third_party/WebKit/Source/core/frame/LocalFrame.h |
| @@ -81,6 +81,7 @@ class PluginData; |
| class ScriptController; |
| class SpellChecker; |
| class WebFrameScheduler; |
| +class WebPluginContainerBase; |
| class WebURLLoader; |
| extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<LocalFrame>; |
| @@ -244,6 +245,12 @@ class CORE_EXPORT LocalFrame final : public Frame, |
| // for adding a callback multiple times. |
| static void RegisterInitializationCallback(FrameInitCallback); |
| + // If the frame hosts a PluginDocument, this method returns the |
| + // WebPluginContainerBase that hosts the plugin. If the provided node is a |
| + // plugin, then it runs its WebPluginContainerBase. Otherwise, uses the |
|
dcheng
2017/05/19 09:07:02
runs -> returns
slangley
2017/05/21 23:53:32
Done
|
| + // currently focused element (if any). |
| + WebPluginContainerBase* GetWebPluginContainerBase(Node* = nullptr) const; |
| + |
| private: |
| friend class FrameNavigationDisabler; |