- Electron version: 1.3.3
- Operating system: Windows

I have noticed that a `webview` will emit the `did-navigate-in-page` event when an IFRAME included in the page finishes loading.

Is this the desired behavior? The documentation implies that this event shall only trigger when the main frame's URL hash changes. In any case, a flag `isMainFrame` would be helpful here.

atom/browser/api/atom_api_web_contents.cc
auto view = web_contents()->GetRenderWidgetHostView();
  return view && view->HasFocus();
}
#endif
void WebContents::TabTraverse(bool reverse) {
  web_contents()->FocusThroughTabTraversal(reverse);
}
bool WebContents::SendIPCMessage(bool all_frames,
                                 const base::string16& channel,
                                 const base::ListValue& args) {
  return Send(new AtomViewMsg_Message(routing_id(), all_frames, channel, args));
}
void WebContents::SendInputEvent(v8::Isolate* isolate,
                                 v8::Local<v8::Value> input_event) {
  const auto view = web_contents()->GetRenderWidgetHostView();
  if (!view)
    return;
  const auto host = view->GetRenderWidgetHost();
  if (!host)
    return;
  int type = mate::GetWebInputEventType(isolate, input_event);
  if (blink::WebInputEvent::isMouseEventType(type)) {
    blink::WebMouseEvent mouse_event;
    if (mate::ConvertFromV8(isolate, input_event, &mouse_event)) {
      host->ForwardMouseEvent(mouse_event);
      return;
    }
  } else if (blink::WebInputEvent::isKeyboardEventType(type)) {
    content::NativeWebKeyboardEvent keyboard_event;