#include <WebCore/NotImplemented.h>
#include "NativeWebMouseEvent.h"
+#include <Elementary.h>
using namespace WebCore;
m_isTextSelectionEnable(true)
{
ASSERT(viewWidget);
- static const String themePath = "/usr/share/elementary/themes/blue-hd.edj";
+
+ const Eina_List* themes = elm_theme_list_get(elm_object_theme_get(m_object));
+ const char* theme = static_cast<const char*>(eina_list_data_get(themes));
+ String themePath = String::fromUTF8(elm_theme_list_item_path_get(theme, NULL));
+
m_leftHandle = new TextSelectionHandle(m_object, themePath, "elm/entry/selection/block_handle_left", true, this);
m_rightHandle = new TextSelectionHandle(m_object, themePath, "elm/entry/selection/block_handle_right", false, this);
m_magnifier = new TextSelectionMagnifier(m_object, page, pageClient);