Commit Graph
15 Commits
Author SHA1 Message Date
Masayuki Nakano bb77d5ed5a Bug 1377672 - part3: IMEStateManager::NotifyIME() should ignore notifications and requests which comes from unexpected process r=m_kato,smaug
IME should receive notifications and requests only from proper process.  E.g., IME shouldn't commit composition by a request which came from previous focused process.

This patch makes that IMEStateManager::NotifyIME() takes pointer to TabParent optionally.  If the request or notification came from remote process, it should be non-nullptr.  Then, this makes it ignore notifications and requests from unexpected process.

Note that this patch also touches some gfx headers because they use |ipc::| but compiler is confused at the ambiguousness between |mozilla::ipc::| and |mozilla::dom::ipc::|.

Finally, this patch changes the NS_ASSERTION in IMEHandler::OnDestroyWindow() to MOZ_ASSERT because the orange caused by the NS_ASSERTION was not realized since there was already an intermittent orange bug caused by different NS_ASSERTION.

MozReview-Commit-ID: 9CgKXQRJWmN
2017-07-06 00:47:40 +09:00
[email protected] a74b51da54 Bug 1274663 - Expose API to trigger device reset. r=dvander 2017-06-15 14:34:00 -04:00
Nathan Froyd b995466f21 Bug 1320752 - remove mozilla/Function.h; r=gerald
We have std::function available now, which is likely to be somewhat more
efficient.
2016-11-28 11:03:53 -05:00
Ryan Hunt 7b7769e60a Bug 1313199 - Sync a device reset from GPU process to main process. r=dvander 2016-11-06 13:01:52 -06:00
George Wright afd7a124a4 Bug 1314426 - Add a method to nsIDOMWindowUtils to terminate the GPU process and get the GPU process pid r=smaug,dvander 2016-11-07 14:22:48 -05:00
George Wright 862a889841 Bug 1297790 - Add telemetry probes for GPU process launch/launch-time/abort r=dvander
MozReview-Commit-ID: LgrdMOSZn8J
2016-10-20 11:33:40 -04:00
Wes Kocher 58ffe867de Backed out changeset 0a1486cf11b2 (bug 1297790) for browser_UsageTelemetry_content_aboutHome.js failures a=backout CLOSED TREE 2016-10-28 15:44:51 -07:00
George Wright 5a030f5a34 Bug 1297790 - Add telemetry probes for GPU process launch/launch-time/abort r=dvander 2016-10-28 16:21:08 -04:00
David Anderson 39571d1e22 Don't call Close twice when the GPU process unexpectedly terminates. (bug 1282348 part 6, r=billm) 2016-07-17 21:24:28 -07:00
David Anderson b1f2146f61 Allow top-level protocols the ability to notify GPUProcessManager when their actors are unexpectedly destroyed. (bug 1282348 part 4, r=billm) 2016-07-17 21:24:28 -07:00
David Anderson a4755696f2 Implement GPU process shutdown. (bug 1271180 part 5, r=billm) 2016-06-10 22:37:03 -04:00
David Anderson effaa2762a Add skeletal code for launching a GPU process. (bug 1271180 part 4, r=billm,jrmuizel) 2016-06-10 22:27:24 -04:00
Phil Ringnalda fb45b46515 Back out 5 changesets (bug 1271180) for static analysis bustage
CLOSED TREE

Backed out changeset cfb53b780b18 (bug 1271180)
Backed out changeset 204b084385f8 (bug 1271180)
Backed out changeset 353da876be33 (bug 1271180)
Backed out changeset 4472dfbc1dc6 (bug 1271180)
Backed out changeset 81079e787b8a (bug 1271180)
2016-06-11 00:46:09 -07:00
David Anderson 62a1290119 Implement GPU process shutdown. (bug 1271180 part 5, r=billm) 2016-06-10 22:37:03 -04:00
David Anderson 960e333e42 Add skeletal code for launching a GPU process. (bug 1271180 part 4, r=billm,jrmuizel) 2016-06-10 22:27:24 -04:00