On Windows ASH ensure that we get the display created for the root window serving ASH.
This ensures that windows created in ASH honor the shell work area etc. We have bugs today where in the first maximized window in ASH does not honor the work area leading to problems. Changes as below:- 1. Added a function IsAshProcess for Windows in ash_init.cc. This returns true if the browser is launched to serve ASH. 2. In the DefaultTargetDisplayProvider::GetTargetDisplay function check if the browser is launched for ASH along with the check for whether ASH is to be opened on startup. If yes then we get the display for the root window created for ASH. BUG=361776 R=sky Review URL: https://codereview.chromium.org/348513002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278534 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment