diff options
Diffstat (limited to 'chrome/renderer/render_widget.cc')
-rw-r--r-- | chrome/renderer/render_widget.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/renderer/render_widget.cc b/chrome/renderer/render_widget.cc index c4656f7..fe0d3c1 100644 --- a/chrome/renderer/render_widget.cc +++ b/chrome/renderer/render_widget.cc @@ -637,12 +637,6 @@ void RenderWidget::show(WebNavigationPolicy) { } void RenderWidget::didFocus() { - // Note that didFocus() is invoked everytime a new node is focused in the - // page. It could be expected that it would be called only when the widget - // gets the focus. If the current behavior was to change in WebKit for the - // expected one, the following notification would not work anymore. - Send(new ViewHostMsg_FocusedNodeChanged(routing_id_)); - // Prevent the widget from stealing the focus if it does not have focus // already. We do this by explicitely setting the focus to false again. // We only let the browser focus the renderer. |