Changeset 54064 in webkit


Ignore:
Timestamp:
Jan 29, 2010 8:25:18 AM (10 years ago)
Author:
kenneth@webkit.org
Message:

Disable auto-uppercase and predictive text on Maemo5, just like the
build-in MicroB Browser.

Reviewed by Simon Hausmann

  • WebCoreSupport/EditorClientQt.cpp:

(WebCore::EditorClientQt::setInputMethodState):

Location:
trunk/WebKit/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/qt/ChangeLog

    r54034 r54064  
     12010-01-29  Kenneth Rohde Christiansen  <kenneth@webkit.org>
     2
     3        Reviewed by Simon Hausmann
     4
     5        Disable auto-uppercase and predictive text on Maemo5, just like the
     6        build-in MicroB Browser.
     7
     8        * WebCoreSupport/EditorClientQt.cpp:
     9        (WebCore::EditorClientQt::setInputMethodState):
     10
    1112010-01-28  Andreas Kling  <andreas.kling@nokia.com>
    212
  • trunk/WebKit/qt/WebCoreSupport/EditorClientQt.cpp

    r50563 r54064  
    626626        }
    627627        webPageClient->setInputMethodHint(Qt::ImhHiddenText, isPasswordField);
    628 #endif
     628#ifdef Q_WS_MAEMO_5
     629        // Maemo 5 MicroB Browser disables auto-uppercase and predictive text, thus, so do we.
     630        webPageClient->setInputMethodHint(Qt::ImhNoAutoUppercase, true);
     631        webPageClient->setInputMethodHint(Qt::ImhNoPredictiveText, true);
     632#endif // Q_WS_MAEMO_5
     633#endif // QT_VERSION check
    629634        webPageClient->setInputMethodEnabled(active);
    630635    }
Note: See TracChangeset for help on using the changeset viewer.