| 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 273cad63816d047e1c7a0fb3c3a656ed3ddade2d..fbe594a847e5c0952411e8b36499b3e98e00ed01 100644
|
| --- a/third_party/WebKit/Source/core/page/FocusController.h
|
| +++ b/third_party/WebKit/Source/core/page/FocusController.h
|
| @@ -40,6 +40,7 @@ struct FocusCandidate;
|
| struct FocusParams;
|
| class Document;
|
| class Element;
|
| +class FocusChangedObserver;
|
| class Frame;
|
| class HTMLFrameOwnerElement;
|
| class InputDeviceCapabilities;
|
| @@ -93,6 +94,8 @@ class CORE_EXPORT FocusController final
|
| void setFocused(bool);
|
| bool isFocused() const { return m_isFocused; }
|
|
|
| + void registerFocusChangedObserver(FocusChangedObserver*);
|
| +
|
| DECLARE_TRACE();
|
|
|
| private:
|
| @@ -118,11 +121,14 @@ class CORE_EXPORT FocusController final
|
| WebFocusType,
|
| FocusCandidate& closest);
|
|
|
| + void notifyFocusChangedObservers() const;
|
| +
|
| Member<Page> m_page;
|
| Member<Frame> m_focusedFrame;
|
| bool m_isActive;
|
| bool m_isFocused;
|
| bool m_isChangingFocusedFrame;
|
| + HeapHashSet<WeakMember<FocusChangedObserver>> m_focusChangedObservers;
|
| };
|
|
|
| } // namespace blink
|
|
|