| 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 68e2a9cceb64a0ab7ab02542be71cb57c1327855..6c8c017895fdec8a2e3e93829a7267875f5e4f07 100644
|
| --- a/third_party/WebKit/Source/core/page/FocusController.h
|
| +++ b/third_party/WebKit/Source/core/page/FocusController.h
|
| @@ -37,6 +37,7 @@
|
| namespace blink {
|
|
|
| struct FocusCandidate;
|
| +struct FocusParams;
|
| class Element;
|
| class Frame;
|
| class HTMLFrameOwnerElement;
|
| @@ -64,7 +65,10 @@ public:
|
| bool advanceFocus(WebFocusType type, InputDeviceCapabilities* sourceCapabilities = nullptr) { return advanceFocus(type, false, sourceCapabilities); }
|
| Element* findFocusableElement(WebFocusType, Node&);
|
|
|
| - bool setFocusedElement(Element*, PassRefPtrWillBeRawPtr<Frame>, WebFocusType = WebFocusTypeNone, InputDeviceCapabilities* sourceCapabilities = nullptr);
|
| + bool setFocusedElement(Element*, PassRefPtrWillBeRawPtr<Frame>, const FocusParams&);
|
| + // |setFocusedElement| variant with SelectionBehaviorOnFocus::None,
|
| + // |WebFocusTypeNone, and null InputDeviceCapabilities.
|
| + bool setFocusedElement(Element*, PassRefPtrWillBeRawPtr<Frame>);
|
|
|
| void setActive(bool);
|
| bool isActive() const { return m_isActive; }
|
|
|