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

Side by Side Diff: components/viz/client/hit_test_data_provider.h

Issue 2972963002: [mus+ash] Implements hit-test client in Aura (Closed)
Patch Set: [mus ash] Implements hit-test client in Aura (rebased) Created 3 years, 5 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 2017 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 COMPONENTS_VIZ_CLIENT_HIT_TEST_DATA_PROVIDER_H_
6 #define COMPONENTS_VIZ_CLIENT_HIT_TEST_DATA_PROVIDER_H_
7
8 #include <memory>
9 #include <vector>
10
11 #include "base/macros.h"
12 #include "components/viz/common/display_hit_test_region.h"
13
14 namespace viz {
15
16 class HitTestDataProvider {
17 public:
18 using HitTestRegionList = std::vector<DisplayHitTestRegion>;
19
20 HitTestDataProvider() = default;
21 virtual ~HitTestDataProvider() = default;
22
23 // Returns an array of hit-test regions.
24 virtual std::unique_ptr<HitTestRegionList> GetHitTestData() = 0;
25
26 private:
27 DISALLOW_COPY_AND_ASSIGN(HitTestDataProvider);
28 };
29
30 } // namespace viz
31
32 #endif // COMPONENTS_VIZ_CLIENT_HIT_TEST_DATA_PROVIDER_H_
OLDNEW
« no previous file with comments | « components/viz/client/client_layer_tree_frame_sink.cc ('k') | components/viz/common/display_hit_test_region.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698