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..19495aa83752912dfebf71fb213dea22f01e3652 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 HTMLCanvasElement; |
-class LayoutPoint; |
+class CanvasCaptureMediaStream; |
-class EventHitRegion { |
- STATIC_ONLY(EventHitRegion); |
+class HTMLCanvasElementCapture { |
+ STATIC_ONLY(HTMLCanvasElementCapture); |
public: |
- static String regionIdFromAbsoluteLocation(HTMLCanvasElement&, const LayoutPoint&); |
+ static CanvasCaptureMediaStream* captureStream(HTMLCanvasElement&); |
peria
2015/11/24 05:50:22
Please use a raw pointer or PassRefPtrWillBeRawPtr
emircan
2015/11/24 22:16:51
This class is a partial interface of HTMLCanvasEle
|
}; |
} // namespace blink |