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

Side by Side Diff: cc/surfaces/surface_hittest.h

Issue 1265013003: Adds support for hittesting points on surface quads (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixing component build Created 5 years, 4 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CC_SURFACES_SURFACE_HITTEST_H_
6 #define CC_SURFACES_SURFACE_HITTEST_H_
7
8 #include "cc/surfaces/surface_id.h"
9 #include "cc/surfaces/surfaces_export.h"
10
11 namespace gfx {
12 class Point;
13 }
14
15 namespace cc {
16 class CC_SURFACES_EXPORT SurfaceManager;
17
18 class SurfaceHittest {
19 public:
20 explicit SurfaceHittest(SurfaceManager* manager);
21 ~SurfaceHittest();
22
23 SurfaceId Hittest(SurfaceId surface_id, const gfx::Point& point);
jbauman 2015/07/31 22:49:27 You might also need to return the transformed loca
lfg 2015/08/04 21:21:42 Indeed, you're right. For some context, today this
24
25 private:
26 SurfaceManager* manager_;
dcheng 2015/08/01 00:48:47 Nit: SurfaceManager* const, since it can't change
lfg 2015/08/04 21:21:42 Done.
27 };
28 } // namespace cc
29
30 #endif // CC_SURFACES_SURFACE_HITTEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698