Chromium Code Reviews| 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..85a7a67814aa7d6794f174d62573f39c3624ba83 100644 |
| --- a/third_party/WebKit/Source/core/page/FocusController.h |
| +++ b/third_party/WebKit/Source/core/page/FocusController.h |
| @@ -52,6 +52,7 @@ public: |
| void setFocusedFrame(PassRefPtrWillBeRawPtr<Frame>); |
| void focusDocumentView(PassRefPtrWillBeRawPtr<Frame>); |
| LocalFrame* focusedFrame() const; |
| + Frame* focusedFrameEvenIfRemote() const { return m_focusedFrame.get(); } |
|
dcheng
2015/11/04 01:46:21
Crazy idea: can we move the logic for determining
alexmos
2015/11/04 18:08:12
I like this - done! Please take a look.
|
| Frame* focusedOrMainFrame() const; |
| bool setInitialFocus(WebFocusType); |