Add screen.getPrimaryDisplay() API.

This commit is contained in:
Cheng Zhao 2014-01-07 20:15:55 +08:00
parent e09a2ff811
commit 4ae2738ce5
3 changed files with 34 additions and 2 deletions

View file

@ -29,6 +29,8 @@ class Screen : public EventEmitter {
static void GetCursorScreenPoint(
const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetPrimaryDisplay(
const v8::FunctionCallbackInfo<v8::Value>& args);
gfx::Screen* screen_;