Changeset 60589 in webkit


Ignore:
Timestamp:
Jun 2, 2010 6:54:30 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-06-02 Raine Makelainen <raine.makelainen@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] On Maemo6 platform auto upper case and predictive text input method hints are not disabled for password field.
https://bugs.webkit.org/show_bug.cgi?id=40062

Introducing Q_WS_MAEMO_6 for Maemo6 specific code. Enabling code that sets input
method hints Qt::ImhNoAutoUppercase and Qt::ImhNoPredictiveText true for Maemo6.

  • WebCoreSupport/EditorClientQt.cpp: (WebCore::EditorClientQt::setInputMethodState):
Location:
trunk/WebKit/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/qt/ChangeLog

    r60566 r60589  
     12010-06-02  Raine Makelainen  <raine.makelainen@nokia.com>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [Qt] On Maemo6 platform auto upper case and predictive text input method hints are not disabled for password field.
     6        https://bugs.webkit.org/show_bug.cgi?id=40062
     7       
     8        Introducing Q_WS_MAEMO_6 for Maemo6 specific code. Enabling code that sets input
     9        method hints Qt::ImhNoAutoUppercase and Qt::ImhNoPredictiveText true for Maemo6.
     10
     11        * WebCoreSupport/EditorClientQt.cpp:
     12        (WebCore::EditorClientQt::setInputMethodState):
     13
    1142010-06-01  Yael Aharon  <yael.aharon@nokia.com>
    215
  • trunk/WebKit/qt/WebCoreSupport/EditorClientQt.cpp

    r60463 r60589  
    607607        }
    608608        webPageClient->setInputMethodHint(Qt::ImhHiddenText, isPasswordField);
    609 #if defined(Q_WS_MAEMO_5) || defined(Q_OS_SYMBIAN)
     609#if defined(Q_WS_MAEMO_5) || defined(Q_WS_MAEMO_6) || defined(Q_OS_SYMBIAN)
    610610        // disables auto-uppercase and predictive text for mobile devices
    611611        webPageClient->setInputMethodHint(Qt::ImhNoAutoUppercase, true);
    612612        webPageClient->setInputMethodHint(Qt::ImhNoPredictiveText, true);
    613 #endif // Q_WS_MAEMO_5 || Q_OS_SYMBIAN
     613#endif // Q_WS_MAEMO_5 || Q_WS_MAEMO_6 || Q_OS_SYMBIAN
    614614#endif // QT_VERSION check
    615615        webPageClient->setInputMethodEnabled(active);
Note: See TracChangeset for help on using the changeset viewer.