forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. InputDeviceManager becomes a thread-local singleton instead of a global singleton. UI Service instantiates DeviceDataManager, which is the service- side implementation of InputDeviceManager, while the browser uses InputDeviceClient, which is the client-side implementation. 2. PlatformEventSource also becomes a thread-local singleton. This is to prevent ash and the browser from executing code on the UI Service's thread by registering PlatformEventObservers (e.g. via UserActivityDetector). In the futurer we may need a client-side implementation of PlatformEventSource. 3. GPU Service checks if a PowerMonitor singleton exists before creating one. This is temporary until GPU Service runs in a separate process from the UI Service. (crbug.com/609317). BUG=722527 Review-Url: https://codereview.chromium.org/2978873002 Cr-Commit-Position: refs/heads/master@{#486534}
- Loading branch information
1 parent
591e1f8
commit f76cad2
Showing
6 changed files
with
50 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters