summaryrefslogtreecommitdiff
path: root/Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.h')
-rw-r--r--Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.h b/Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.h
index aeef69e2c..7695b4366 100644
--- a/Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.h
+++ b/Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.h
@@ -27,20 +27,17 @@
#define InjectedBundleRangeHandle_h
#include "APIObject.h"
-#include "ImageOptions.h"
#include <JavaScriptCore/JSBase.h>
#include <wtf/PassRefPtr.h>
#include <wtf/RefPtr.h>
namespace WebCore {
-class IntRect;
-class Range;
+ class Range;
}
namespace WebKit {
class InjectedBundleScriptWorld;
-class WebImage;
class InjectedBundleRangeHandle : public API::ObjectImpl<API::Object::Type::BundleRangeHandle> {
public:
@@ -49,13 +46,10 @@ public:
virtual ~InjectedBundleRangeHandle();
- WebCore::IntRect boundingRectInWindowCoordinates() const;
- PassRefPtr<WebImage> renderedImage(SnapshotOptions);
-
WebCore::Range* coreRange() const;
private:
- static Ref<InjectedBundleRangeHandle> create(WebCore::Range*);
+ static PassRefPtr<InjectedBundleRangeHandle> create(WebCore::Range*);
InjectedBundleRangeHandle(WebCore::Range*);
RefPtr<WebCore::Range> m_range;