| Index: third_party/WebKit/Source/core/layout/HitTestCanvasResult.h
|
| diff --git a/third_party/WebKit/Source/core/layout/HitTestCanvasResult.h b/third_party/WebKit/Source/core/layout/HitTestCanvasResult.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..09bc9485bb39cf073a48c349f89787852c5b5a79
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/layout/HitTestCanvasResult.h
|
| @@ -0,0 +1,35 @@
|
| +// 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 HitTestCanvasResult_h
|
| +#define HitTestCanvasResult_h
|
| +
|
| +#include "core/dom/Element.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class CORE_EXPORT HitTestCanvasResult final
|
| + : public GarbageCollectedFinalized<HitTestCanvasResult> {
|
| +
|
| +public:
|
| + static HitTestCanvasResult* create(String id, Member<Element> control)
|
| + {
|
| + return new HitTestCanvasResult(id, control);
|
| + }
|
| +
|
| + String getId() const;
|
| + Element* getControl() const;
|
| +
|
| + DECLARE_TRACE();
|
| +
|
| +private:
|
| + HitTestCanvasResult(String id, Member<Element> control);
|
| +
|
| + String m_id;
|
| + Member<Element> m_control;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // HitTestCanvasResult_h
|
|
|