Descriptionviews/mus: Install a mus-friendly ContextFactory for tests.
A test running with aura-mus (in aura, views, or ash) does not need a
ui::ContextFactoryPrivate instance. It only needs a ui::ContextFactory.
ui::InProcessContextFactory is not the right implementation to use in a
mus client though, since it directly deals with cc::SurfaceManager,
cc::Display etc., which are not suitable for a mus client. So provide a
simpler implementation of ContextFactory instead in compositor which can
be used from aura, views, and ash.
Use this new ContextFactory for views_mus_unittests and mash_unittests.
This fixes using ui::DrawWaiterForTest in these tests.
BUG=618136
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2752303002
Cr-Commit-Position: refs/heads/master@{#457865}
Committed: https://chromium.googlesource.com/chromium/src/+/19bc819e7192b19cd060a1f36c6d76ae0c9c9bf1
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : enable test #Patch Set 4 : refactor #Patch Set 5 : more refactor #Patch Set 6 : . #
Total comments: 12
Patch Set 7 : . #Patch Set 8 : . #
Total comments: 4
Patch Set 9 : . #
Messages
Total messages: 58 (43 generated)
|