summaryrefslogtreecommitdiff
path: root/Source/WebKit/win/WebView.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/win/WebView.h')
-rw-r--r--Source/WebKit/win/WebView.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/Source/WebKit/win/WebView.h b/Source/WebKit/win/WebView.h
index 3a0f95aff..821c7e9f4 100644
--- a/Source/WebKit/win/WebView.h
+++ b/Source/WebKit/win/WebView.h
@@ -962,6 +962,25 @@ public:
WebCore::Element* fullScreenElement() const { return m_fullScreenElement.get(); }
#endif
+ // Used by TextInputController in DumpRenderTree
+
+ HRESULT STDMETHODCALLTYPE setCompositionForTesting(
+ /* [in] */ BSTR composition,
+ /* [in] */ UINT from,
+ /* [in] */ UINT length);
+
+ HRESULT STDMETHODCALLTYPE hasCompositionForTesting(/* [out, retval] */ BOOL* result);
+
+ HRESULT STDMETHODCALLTYPE confirmCompositionForTesting(/* [in] */ BSTR composition);
+
+ HRESULT STDMETHODCALLTYPE compositionRangeForTesting(/* [out] */ UINT* startPosition, /* [out] */ UINT* length);
+
+ HRESULT STDMETHODCALLTYPE firstRectForCharacterRangeForTesting(
+ /* [in] */ UINT location,
+ /* [in] */ UINT length,
+ /* [out, retval] */ RECT* resultRect);
+
+ HRESULT STDMETHODCALLTYPE selectedRangeForTesting(/* [out] */ UINT* location, /* [out] */ UINT* length);
private:
void setZoomMultiplier(float multiplier, bool isTextOnly);
float zoomMultiplier(bool isTextOnly);