<!--
Thanks for opening an issue! A few things to keep in mind:

- The issue tracker is only for bugs and feature requests.
- Before reporting a bug, please try reproducing your issue against
  the latest version of Electron.
- If you need general advice, join our Slack: http://atom-slack.herokuapp.com
-->

* Electron version: 1.6.15
* Operating system: Linux

### Expected behavior

Inside a `BrowserView`, I want to access the [`view.id`](https://github.com/electron/electron/blob/master/docs/api/browser-view.md#viewid-experimental). I would have expected `remote.getCurrentWindow()` to return the `view`.

### Actual behavior

Calling `remote.getCurrentWindow()` returns `null`.

---

I understand if you want to expose a different API here since the method _is_ called <code>getCurrent**Window**()</code>. However, there should be _some_ way to access the `view` from within a `BrowserView` process.
atom/browser/api/atom_api_browser_view.cc
#include "atom/browser/api/atom_api_browser_view.h"
#include "atom/browser/api/atom_api_web_contents.h"
#include "atom/browser/browser.h"
#include "atom/browser/native_browser_view.h"
#include "atom/common/color_util.h"
#include "atom/common/native_mate_converters/gfx_converter.h"
#include "atom/common/native_mate_converters/value_converter.h"
#include "atom/common/node_includes.h"
#include "atom/common/options_switches.h"
#include "native_mate/constructor.h"
#include "native_mate/dictionary.h"
#include "ui/gfx/geometry/rect.h"
namespace mate {
template <>
struct Converter<atom::AutoResizeFlags> {
  static bool FromV8(v8::Isolate* isolate,