| Index: third_party/WebKit/public/web/WebView.h
|
| diff --git a/third_party/WebKit/public/web/WebView.h b/third_party/WebKit/public/web/WebView.h
|
| index 49a848d50f322a51b5fc58e32a8eceb17afe3e98..f3f9dc4280c7f421b6b188069ca22ea23a928fd9 100644
|
| --- a/third_party/WebKit/public/web/WebView.h
|
| +++ b/third_party/WebKit/public/web/WebView.h
|
| @@ -166,6 +166,12 @@ public:
|
| virtual WebFrame* focusedFrame() = 0;
|
| virtual void setFocusedFrame(WebFrame*) = 0;
|
|
|
| + // Sets the provided frame as focused and fires blur/focus events on any
|
| + // currently focused elements in old/new focused documents. Note that this
|
| + // is different from setFocusedFrame, which does not fire events on focused
|
| + // elements.
|
| + virtual void focusDocumentView(WebFrame*) = 0;
|
| +
|
| // Focus the first (last if reverse is true) focusable node.
|
| virtual void setInitialFocus(bool reverse) = 0;
|
|
|
|
|