Bug 699538 - Only register the event tap while our app is in the background and has a context menu open, because that's the only scenario we need it for. r=smichaud
This commit is contained in:
@@ -32,14 +32,14 @@ public:
|
||||
static nsresult SwizzleMethods(Class aClass, SEL orgMethod, SEL posedMethod,
|
||||
bool classMethods = false);
|
||||
|
||||
void RegisterForAllProcessMouseEvents();
|
||||
void UnregisterAllProcessMouseEventHandlers();
|
||||
|
||||
protected:
|
||||
|
||||
nsresult RegisterForSleepWakeNotifcations();
|
||||
void RemoveSleepWakeNotifcations();
|
||||
|
||||
void RegisterForAllProcessMouseEvents();
|
||||
void UnregisterAllProcessMouseEventHandlers();
|
||||
|
||||
protected:
|
||||
|
||||
static nsToolkit* gToolkit;
|
||||
|
||||
Reference in New Issue
Block a user