Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Issue 348513002: On Windows ASH ensure that we get the display created for the root window serving ASH. (Closed)

Created:
6 years, 6 months ago by ananta
Modified:
6 years, 6 months ago
Reviewers:
sky
CC:
chromium-reviews, kalyank, sadrul, ben+ash_chromium.org
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278534

Patch Set 1 #

Total comments: 2

Patch Set 2 : Code review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -1 line) Patch
M chrome/browser/ui/window_sizer/window_sizer.cc View 1 1 chunk +9 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
ananta
6 years, 6 months ago (2014-06-19 02:36:05 UTC) #1
sky
https://codereview.chromium.org/348513002/diff/1/chrome/browser/ui/ash/ash_init.h File chrome/browser/ui/ash/ash_init.h (right): https://codereview.chromium.org/348513002/diff/1/chrome/browser/ui/ash/ash_init.h#newcode24 chrome/browser/ui/ash/ash_init.h:24: bool IsAshProcess(); This name is confusing and implies we ...
6 years, 6 months ago (2014-06-19 15:36:00 UTC) #2
ananta
https://codereview.chromium.org/348513002/diff/1/chrome/browser/ui/ash/ash_init.h File chrome/browser/ui/ash/ash_init.h (right): https://codereview.chromium.org/348513002/diff/1/chrome/browser/ui/ash/ash_init.h#newcode24 chrome/browser/ui/ash/ash_init.h:24: bool IsAshProcess(); On 2014/06/19 15:36:00, sky wrote: > This ...
6 years, 6 months ago (2014-06-19 19:30:25 UTC) #3
sky
LGTM
6 years, 6 months ago (2014-06-19 20:27:23 UTC) #4
ananta
The CQ bit was checked by ananta@chromium.org
6 years, 6 months ago (2014-06-19 21:28:38 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ananta@chromium.org/348513002/20001
6 years, 6 months ago (2014-06-19 21:30:21 UTC) #6
commit-bot: I haz the power
6 years, 6 months ago (2014-06-19 23:53:04 UTC) #7
Message was sent while issue was closed.
Change committed as 278534

Powered by Google App Engine
This is Rietveld 408576698