Chromium Code Reviews
DescriptionCouple of fixes for DesktopWindowTreeHostMus.
. Init() needs to set the bounds if bounds was passed in the
InitParams.
. ShowWindowWithState() needs to call to SetInitialFocus(), matches
that of other DesktopWindowTreeHost impls.
. Implements CenterWindow() to do the right thing (logic matches that
of other DesktopWindowTreeHosts).
. And HasCapture() for mus should always return true. This is because
DesktopNativeWidgetAura has the real checks and only calls to
DesktopWindowTreeHostMus if everything mus cares about is true. So,
it can always return true.
BUG=660994
TEST=covered by tests
R=msw@chromium.org
Committed: https://crrev.com/f3e7874130cb59bc124f7fad55a81ac5967e57e7
Cr-Commit-Position: refs/heads/master@{#431355}
Patch Set 1 #Patch Set 2 : cleanup #
Total comments: 4
Patch Set 3 : feedback #
Messages
Total messages: 14 (8 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||