Exemplo n.º 1
0
bool EditorClient::isSelectTrailingWhitespaceEnabled()
{
    WebCore::Page* corePage = core(m_webView);
    if (!corePage)
        return false;
    return corePage->settings().selectTrailingWhitespaceEnabled();
}
Exemplo n.º 2
0
bool EditorClientEfl::isSelectTrailingWhitespaceEnabled()
{
    WebCore::Page* corePage = EWKPrivate::corePage(m_view);
    if (!corePage)
        return false;
    return corePage->settings().selectTrailingWhitespaceEnabled();
}
Exemplo n.º 3
0
bool EditorClient::smartInsertDeleteEnabled()
{
    WebCore::Page* corePage = core(m_webView);
    if (!corePage)
        return false;
    return corePage->settings().smartInsertDeleteEnabled();
}
Exemplo n.º 4
0
bool EditorClientEfl::smartInsertDeleteEnabled()
{
    WebCore::Page* corePage = EWKPrivate::corePage(m_view);
    if (!corePage)
        return false;
    return corePage->settings().smartInsertDeleteEnabled();
}
Exemplo n.º 5
0
void DumpRenderTreeSupportEfl::setAuthorAndUserStylesEnabled(Evas_Object* ewkView, bool enabled)
{
    WebCore::Page* corePage = EWKPrivate::corePage(ewkView);
    if (!corePage)
        return;

    corePage->settings()->setAuthorAndUserStylesEnabled(enabled);
}
Exemplo n.º 6
0
void DumpRenderTreeSupportEfl::setLoadsSiteIconsIgnoringImageLoadingSetting(Evas_Object* ewkView, bool loadsSiteIconsIgnoringImageLoadingPreferences)
{
    WebCore::Page* page = EWKPrivate::corePage(ewkView);
    if (!page)
        return;

    page->settings()->setLoadsSiteIconsIgnoringImageLoadingSetting(loadsSiteIconsIgnoringImageLoadingPreferences);
}
Exemplo n.º 7
0
void DumpRenderTreeSupportEfl::setEditingBehavior(Evas_Object* ewkView, const char* editingBehavior)
{
    WebCore::EditingBehaviorType coreEditingBehavior;

    if (!strcmp(editingBehavior, "win"))
        coreEditingBehavior = WebCore::EditingWindowsBehavior;
    else if (!strcmp(editingBehavior, "mac"))
        coreEditingBehavior = WebCore::EditingMacBehavior;
    else if (!strcmp(editingBehavior, "unix"))
        coreEditingBehavior = WebCore::EditingUnixBehavior;
    else {
        ASSERT_NOT_REACHED();
        return;
    }

    WebCore::Page* corePage = EWKPrivate::corePage(ewkView);
    if (!corePage)
        return;

    corePage->settings()->setEditingBehaviorType(coreEditingBehavior);
}
Exemplo n.º 8
0
void DumpRenderTreeSupportEfl::setValidationMessageTimerMagnification(Evas_Object* ewkView, int value)
{
    WebCore::Page* corePage = EWKPrivate::corePage(ewkView);
    if (corePage)
        corePage->settings()->setValidationMessageTimerMagnification(value);
}
Exemplo n.º 9
0
void DumpRenderTreeSupportEfl::setInteractiveFormValidationEnabled(Evas_Object* ewkView, bool enabled)
{
    WebCore::Page* corePage = EWKPrivate::corePage(ewkView);
    if (corePage)
        corePage->settings()->setInteractiveFormValidationEnabled(enabled);
}
Exemplo n.º 10
0
void DumpRenderTreeSupportEfl::setCSSGridLayoutEnabled(const Evas_Object* ewkView, bool enabled)
{
    WebCore::Page* corePage = EWKPrivate::corePage(ewkView);
    if (corePage)
        corePage->settings()->setCSSGridLayoutEnabled(enabled);
}