* Electron version: 1.7.9
* Operating system: macOS 10.13.1

### Expected behavior

If pinch-zoom is disabled via `webFrame.setVisualZoomLevelLimits(1, 1);` it should stay disabled.

### Actual behavior

Pinch zoom is possible. 

### How to reproduce

* connect an external monitor and open any electron app there, keep the macbook pro lid closed
* disconnect the external monitor
* open the lid

=> you can now pinch zoom 
atom/renderer/api/atom_api_web_frame.cc
return blink::WebView::ZoomLevelToZoomFactor(SetZoomLevel(
      blink::WebView::ZoomFactorToZoomLevel(factor)));
}
double WebFrame::GetZoomFactor() const {
  return blink::WebView::ZoomLevelToZoomFactor(GetZoomLevel());
}
void WebFrame::SetVisualZoomLevelLimits(double min_level, double max_level) {
  web_frame_->View()->SetDefaultPageScaleLimits(min_level, max_level);
}
void WebFrame::SetLayoutZoomLevelLimits(double min_level, double max_level) {
  web_frame_->View()->ZoomLimitsChanged(min_level, max_level);
}
v8::Local<v8::Value> WebFrame::RegisterEmbedderCustomElement(
    const base::string16& name, v8::Local<v8::Object> options) {
  return web_frame_->GetDocument().RegisterEmbedderCustomElement(
      blink::WebString::FromUTF16(name), options);
}
void WebFrame::RegisterElementResizeCallback(
    int element_instance_id,
    const GuestViewContainer::ResizeCallback& callback) {
  auto guest_view_container = GuestViewContainer::FromID(element_instance_id);
  if (guest_view_container)
    guest_view_container->RegisterElementResizeCallback(callback);
}
void WebFrame::AttachGuest(int id) {