summaryrefslogtreecommitdiff
path: root/Source/WebKit2/UIProcess/efl/WebPageProxyEfl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/UIProcess/efl/WebPageProxyEfl.cpp')
-rw-r--r--Source/WebKit2/UIProcess/efl/WebPageProxyEfl.cpp35
1 files changed, 33 insertions, 2 deletions
diff --git a/Source/WebKit2/UIProcess/efl/WebPageProxyEfl.cpp b/Source/WebKit2/UIProcess/efl/WebPageProxyEfl.cpp
index 8981ceeb1..befa247c2 100644
--- a/Source/WebKit2/UIProcess/efl/WebPageProxyEfl.cpp
+++ b/Source/WebKit2/UIProcess/efl/WebPageProxyEfl.cpp
@@ -26,8 +26,10 @@
#include "config.h"
#include "WebPageProxy.h"
+#include "EwkViewImpl.h"
+#include "NativeWebKeyboardEvent.h"
#include "NotImplemented.h"
-#include "PageClientImpl.h"
+#include "PageClientBase.h"
#include "WebKitVersion.h"
#include "WebPageMessages.h"
#include "WebProcessProxy.h"
@@ -38,7 +40,7 @@ namespace WebKit {
Evas_Object* WebPageProxy::viewWidget()
{
- return static_cast<PageClientImpl*>(m_pageClient)->viewWidget();
+ return static_cast<PageClientBase*>(m_pageClient)->viewImpl()->view();
}
String WebPageProxy::standardUserAgent(const String& /*applicationNameForUserAgent*/)
@@ -93,4 +95,33 @@ void WebPageProxy::windowedPluginGeometryDidChange(const WebCore::IntRect&, cons
notImplemented();
}
+void WebPageProxy::handleInputMethodKeydown(bool& handled)
+{
+ handled = m_keyEventQueue.first().isFiltered();
+}
+
+void WebPageProxy::confirmComposition(const String& compositionString)
+{
+ if (!isValid())
+ return;
+
+ process()->send(Messages::WebPage::ConfirmComposition(compositionString), m_pageID, 0);
+}
+
+void WebPageProxy::setComposition(const String& compositionString, Vector<WebCore::CompositionUnderline>& underlines, int cursorPosition)
+{
+ if (!isValid())
+ return;
+
+ process()->send(Messages::WebPage::SetComposition(compositionString, underlines, cursorPosition), m_pageID, 0);
+}
+
+void WebPageProxy::cancelComposition()
+{
+ if (!isValid())
+ return;
+
+ process()->send(Messages::WebPage::CancelComposition(), m_pageID, 0);
+}
+
} // namespace WebKit