destroy WebContents when view is destroyed
This commit is contained in:
parent
7c2303c758
commit
fd4a0626c5
3 changed files with 28 additions and 20 deletions
|
@ -7,14 +7,14 @@
|
|||
|
||||
#include <memory>
|
||||
|
||||
#include "atom/browser/api/event_emitter.h"
|
||||
#include "atom/browser/api/trackable_object.h"
|
||||
#include "ui/views/view.h"
|
||||
|
||||
namespace atom {
|
||||
|
||||
namespace api {
|
||||
|
||||
class View : public mate::EventEmitter<View> {
|
||||
class View : public mate::TrackableObject<View> {
|
||||
public:
|
||||
static mate::WrappableBase* New(mate::Arguments* args);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue