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

    corePage->settings()->setAuthorAndUserStylesEnabled(enabled);
}
コード例 #6
0
void DumpRenderTreeSupportEfl::setLoadsSiteIconsIgnoringImageLoadingSetting(Evas_Object* ewkView, bool loadsSiteIconsIgnoringImageLoadingPreferences)
{
    WebCore::Page* page = EWKPrivate::corePage(ewkView);
    if (!page)
        return;

    page->settings()->setLoadsSiteIconsIgnoringImageLoadingSetting(loadsSiteIconsIgnoringImageLoadingPreferences);
}
コード例 #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);
}
コード例 #8
0
void DumpRenderTreeSupportEfl::setValidationMessageTimerMagnification(Evas_Object* ewkView, int value)
{
    WebCore::Page* corePage = EWKPrivate::corePage(ewkView);
    if (corePage)
        corePage->settings()->setValidationMessageTimerMagnification(value);
}
コード例 #9
0
void DumpRenderTreeSupportEfl::setInteractiveFormValidationEnabled(Evas_Object* ewkView, bool enabled)
{
    WebCore::Page* corePage = EWKPrivate::corePage(ewkView);
    if (corePage)
        corePage->settings()->setInteractiveFormValidationEnabled(enabled);
}
コード例 #10
0
void DumpRenderTreeSupportEfl::setCSSGridLayoutEnabled(const Evas_Object* ewkView, bool enabled)
{
    WebCore::Page* corePage = EWKPrivate::corePage(ewkView);
    if (corePage)
        corePage->settings()->setCSSGridLayoutEnabled(enabled);
}