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

Unified Diff: components/viz/service/hit_test/display_hit_test_data_factory_local.h

Issue 2938953002: Implement HitTestAggregator (Closed)
Patch Set: improvements based on reviewer comments Created 3 years, 6 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
Index: components/viz/service/hit_test/display_hit_test_data_factory_local.h
diff --git a/components/viz/service/hit_test/display_hit_test_data_factory_local.h b/components/viz/service/hit_test/display_hit_test_data_factory_local.h
new file mode 100644
index 0000000000000000000000000000000000000000..95e8dcf1b25521c2c7d6061cb95ce92f68be6bc7
--- /dev/null
+++ b/components/viz/service/hit_test/display_hit_test_data_factory_local.h
@@ -0,0 +1,29 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_VIZ_SERVICE_HIT_TEST_DISPLAY_HIT_TEST_DATA_FACTORY_LOCAL_H_
+#define COMPONENTS_VIZ_SERVICE_HIT_TEST_DISPLAY_HIT_TEST_DATA_FACTORY_LOCAL_H_
+
+#include "components/viz/service/hit_test/display_hit_test_data_factory.h"
+#include "components/viz/service/viz_service_export.h"
+
+namespace viz {
+namespace hit_test {
+
+class VIZ_SERVICE_EXPORT DisplayHitTestDataFactoryLocal
+ : public DisplayHitTestDataFactory {
+ public:
+ DisplayHitTestDataFactoryLocal();
+ ~DisplayHitTestDataFactoryLocal() override;
+
+ DisplayHitTestData* Create(int byte_count) override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(DisplayHitTestDataFactoryLocal);
+};
+
+} // namespace hit_test
+} // namespace viz
+
+#endif // COMPONENTS_VIZ_SERVICE_HIT_TEST_DISPLAY_HIT_TEST_DATA_FACTORY_LOCAL_H_

Powered by Google App Engine
This is Rietveld 408576698