| Index: third_party/WebKit/Source/core/page/FocusController.h
|
| diff --git a/third_party/WebKit/Source/core/page/FocusController.h b/third_party/WebKit/Source/core/page/FocusController.h
|
| index 1fcfbff0c48b81c0ba1730dd8e6cbd7997780df2..68e2a9cceb64a0ab7ab02542be71cb57c1327855 100644
|
| --- a/third_party/WebKit/Source/core/page/FocusController.h
|
| +++ b/third_party/WebKit/Source/core/page/FocusController.h
|
| @@ -39,6 +39,7 @@ namespace blink {
|
| struct FocusCandidate;
|
| class Element;
|
| class Frame;
|
| +class HTMLFrameOwnerElement;
|
| class InputDeviceCapabilities;
|
| class LocalFrame;
|
| class Node;
|
| @@ -54,6 +55,11 @@ public:
|
| LocalFrame* focusedFrame() const;
|
| Frame* focusedOrMainFrame() const;
|
|
|
| + // Finds the focused HTMLFrameOwnerElement, if any, in the provided frame.
|
| + // An HTMLFrameOwnerElement is considered focused if the frame it owns, or
|
| + // one of its descendant frames, is currently focused.
|
| + HTMLFrameOwnerElement* focusedFrameOwnerElement(LocalFrame& currentFrame) const;
|
| +
|
| bool setInitialFocus(WebFocusType);
|
| bool advanceFocus(WebFocusType type, InputDeviceCapabilities* sourceCapabilities = nullptr) { return advanceFocus(type, false, sourceCapabilities); }
|
| Element* findFocusableElement(WebFocusType, Node&);
|
|
|