mac: Fix installing view on frameless window

Closes #601.
This commit is contained in:
Cheng Zhao 2014-12-11 14:25:51 -08:00
parent 0b668b8e17
commit 7457f81283
2 changed files with 47 additions and 3 deletions

View file

@ -11,6 +11,7 @@
#include "base/memory/scoped_ptr.h"
#include "atom/browser/native_window.h"
@class FullSizeContentView;
class SkRegion;
namespace atom {
@ -98,6 +99,9 @@ class NativeWindowMac : public NativeWindow {
base::scoped_nsobject<NSWindow> window_;
// The view that will fill the whole frameless window.
base::scoped_nsobject<FullSizeContentView> content_view_;
bool is_kiosk_;
NSInteger attention_request_id_; // identifier from requestUserAttention