| Index: services/gfx/compositor/graph/snapshot.h
|
| diff --git a/services/gfx/compositor/graph/snapshot.h b/services/gfx/compositor/graph/snapshot.h
|
| index 3e4ccd466328b4c3655b093c4202399db5498f8c..04ac1f563c5cff600589a3c06929de5d62e4b2bd 100644
|
| --- a/services/gfx/compositor/graph/snapshot.h
|
| +++ b/services/gfx/compositor/graph/snapshot.h
|
| @@ -13,6 +13,7 @@
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "mojo/services/geometry/interfaces/geometry.mojom.h"
|
| +#include "mojo/services/gfx/composition/interfaces/hit_tests.mojom.h"
|
| #include "mojo/services/gfx/composition/interfaces/scheduling.mojom.h"
|
|
|
| namespace compositor {
|
| @@ -69,6 +70,11 @@ class Snapshot : public base::RefCounted<Snapshot> {
|
| const mojo::Rect& viewport,
|
| const mojo::gfx::composition::FrameInfo& frame_info) const;
|
|
|
| + // Performs a hit test at the specified point, populating the result.
|
| + // Only valid if |!is_blocked()|.
|
| + void HitTest(const mojo::Point& point,
|
| + mojo::gfx::composition::HitTestResult* result) const;
|
| +
|
| // Returns true if the specified node was blocked from rendering.
|
| // Only valid if |!is_blocked()|.
|
| bool IsNodeBlocked(const NodeDef* node) const;
|
|
|