| Index: third_party/WebKit/Source/modules/mediacapturefromelement/HTMLCanvasElementCapture.h
|
| diff --git a/third_party/WebKit/Source/modules/canvas2d/EventHitRegion.h b/third_party/WebKit/Source/modules/mediacapturefromelement/HTMLCanvasElementCapture.h
|
| similarity index 52%
|
| copy from third_party/WebKit/Source/modules/canvas2d/EventHitRegion.h
|
| copy to third_party/WebKit/Source/modules/mediacapturefromelement/HTMLCanvasElementCapture.h
|
| index 336ee7c9243c30dc679b205c6921eef0911c8faf..04d090505d836dee64bac1a8791ae0b74cbc923d 100644
|
| --- a/third_party/WebKit/Source/modules/canvas2d/EventHitRegion.h
|
| +++ b/third_party/WebKit/Source/modules/mediacapturefromelement/HTMLCanvasElementCapture.h
|
| @@ -2,21 +2,20 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef EventHitRegion_h
|
| -#define EventHitRegion_h
|
| +#ifndef HTMLCanvasElementCapture_h
|
| +#define HTMLCanvasElementCapture_h
|
|
|
| #include "wtf/Allocator.h"
|
| -#include "wtf/text/WTFString.h"
|
|
|
| namespace blink {
|
|
|
| +class CanvasCaptureMediaStream;
|
| class HTMLCanvasElement;
|
| -class LayoutPoint;
|
|
|
| -class EventHitRegion {
|
| - STATIC_ONLY(EventHitRegion);
|
| +class HTMLCanvasElementCapture {
|
| + STATIC_ONLY(HTMLCanvasElementCapture);
|
| public:
|
| - static String regionIdFromAbsoluteLocation(HTMLCanvasElement&, const LayoutPoint&);
|
| + static CanvasCaptureMediaStream* captureStream(HTMLCanvasElement&);
|
| };
|
|
|
| } // namespace blink
|
|
|