Do not reply sync messages when window is closed.

This commit is contained in:
Cheng Zhao 2013-09-22 10:43:54 +08:00
parent 1e4762ce92
commit 761b9d22c8
4 changed files with 27 additions and 11 deletions

View file

@ -14,11 +14,12 @@ class ListValue;
namespace IPC {
class Message;
class Sender;
}
namespace atom {
class NativeWindow;
class AtomBrowserBindings : public AtomBindings {
public:
AtomBrowserBindings();
@ -38,7 +39,7 @@ class AtomBrowserBindings : public AtomBindings {
int routing_id,
const string16& channel,
const base::ListValue& args,
IPC::Sender* sender,
NativeWindow* sender,
IPC::Message* message);
// The require('atom').browserMainParts object.