DescriptionAdd unittests for X11TopmostWindowFinder
A couple of additional changes:
- Moves X11PropertyChangeWaiter to its own class so that it can be shared among several tests
- Moves the dependency on Xlib.h out of path_x11.h and uses forward declaration instead. This is necessary because the definitions of "None" and "Bool" in Xlib.h conflict with those in gtest.
- Moves X11WindowEventFilter::SetUseHostWindowBorders() into x11_util.cc so that it can be used in tests on X windows which are not associated with a views::Widget
BUG=None
TEST=X11TopmostWindowFinderTest.*
R=sadrul
TBR=sky (For trivial change to the includes in ui/gfx/path_x11.*)
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277116
Patch Set 1 : #
Total comments: 1
Patch Set 2 : #
Total comments: 1
Patch Set 3 : #
Total comments: 1
Patch Set 4 : #
Messages
Total messages: 15 (0 generated)
|