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

Unified Diff: components/mus/surfaces/surfaces_state.h

Issue 1328953003: Mandoline: Support transforms and clipping of OOPIFs and events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added TODO Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/mus/server_view.cc ('k') | components/mus/surfaces/surfaces_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/surfaces/surfaces_state.h
diff --git a/components/mus/surfaces/surfaces_state.h b/components/mus/surfaces/surfaces_state.h
index 5d319302619d0943906970b7d5c81849ebd6f296..96385349d00188994ad551607b7ba91e903f16c9 100644
--- a/components/mus/surfaces/surfaces_state.h
+++ b/components/mus/surfaces/surfaces_state.h
@@ -7,10 +7,12 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
+#include "cc/surfaces/surface_hittest.h"
#include "cc/surfaces/surface_manager.h"
#include "components/mus/surfaces/surfaces_scheduler.h"
namespace cc {
+class SurfaceHittest;
class SurfaceManager;
} // namespace cc
@@ -29,6 +31,8 @@ class SurfacesState : public base::RefCounted<SurfacesState> {
cc::SurfaceManager* manager() { return &manager_; }
+ cc::SurfaceHittest* hit_tester() { return &hit_tester_; }
+
SurfacesScheduler* scheduler() { return &scheduler_; }
private:
@@ -40,6 +44,7 @@ class SurfacesState : public base::RefCounted<SurfacesState> {
// that requested the Surface.
uint32_t next_id_namespace_;
cc::SurfaceManager manager_;
+ cc::SurfaceHittest hit_tester_;
SurfacesScheduler scheduler_;
DISALLOW_COPY_AND_ASSIGN(SurfacesState);
« no previous file with comments | « components/mus/server_view.cc ('k') | components/mus/surfaces/surfaces_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698