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

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

Issue 2908783002: WIP Hittest Component.
Patch Set: change HitTestFlags to constants so we can mix and match and convert to struct naming convention 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/hit_test/display_hit_test_data_factory_local.h
diff --git a/components/viz/hit_test/display_hit_test_data_factory_local.h b/components/viz/hit_test/display_hit_test_data_factory_local.h
new file mode 100644
index 0000000000000000000000000000000000000000..36e6b2c3180549f6586a4ff553ad7992e99f13ee
--- /dev/null
+++ b/components/viz/hit_test/display_hit_test_data_factory_local.h
@@ -0,0 +1,34 @@
+// 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_HIT_TEST_DISPLAY_HIT_TEST_DATA_FACTORY_LOCAL_H_
+#define COMPONENTS_VIZ_HIT_TEST_DISPLAY_HIT_TEST_DATA_FACTORY_LOCAL_H_
+
+#include <stdint.h>
+
+#include <map>
+#include <memory>
+
+#include "components/viz/hit_test/display_hit_test_data_factory.h"
+#include "components/viz/hit_test/hit_test_export.h"
+
+namespace viz {
+namespace hit_test {
+
+class HIT_TEST_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_HIT_TEST_DISPLAY_HIT_TEST_DATA_FACTORY_LOCAL_H_

Powered by Google App Engine
This is Rietveld 408576698