summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/layout/hit_test_canvas_result.h
blob: 4dcc8d19cdb5d80ee570cc754f1782064f34d57c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright 2016 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 THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_HIT_TEST_CANVAS_RESULT_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_HIT_TEST_CANVAS_RESULT_H_

#include "third_party/blink/renderer/core/dom/element.h"

namespace blink {

class CORE_EXPORT HitTestCanvasResult final
    : public GarbageCollected<HitTestCanvasResult> {
 public:
  HitTestCanvasResult(String id, Member<Element> control);

  String GetId() const;
  Element* GetControl() const;

  void Trace(Visitor*);

 private:
  String id_;
  Member<Element> control_;
};

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_HIT_TEST_CANVAS_RESULT_H_