icecat: add release icecat-140.10.1-1gnu1 for ecne
This commit is contained in:
parent
a5f93cb214
commit
ff85d7c623
1256 changed files with 63469 additions and 24141 deletions
|
|
@ -725,7 +725,7 @@ nsresult PuppetWidget::NotifyIMEOfFocusChange(
|
|||
}
|
||||
|
||||
mIMENotificationRequestsOfParent =
|
||||
IMENotificationRequests(IMENotificationRequests::NOTIFY_ALL);
|
||||
IMENotificationRequests(AllIMENotificationRequests);
|
||||
RefPtr<PuppetWidget> self = this;
|
||||
mBrowserChild->SendNotifyIMEFocus(mContentCache, aIMENotification)
|
||||
->Then(
|
||||
|
|
@ -780,8 +780,9 @@ nsresult PuppetWidget::NotifyIMEOfTextChange(
|
|||
}
|
||||
|
||||
// BrowserParent doesn't this this to cache. we don't send the notification
|
||||
// if parent process doesn't request NOTIFY_TEXT_CHANGE.
|
||||
if (mIMENotificationRequestsOfParent.WantTextChange()) {
|
||||
// if parent process doesn't request text changes.
|
||||
if (mIMENotificationRequestsOfParent.contains(
|
||||
IMENotificationRequest::TextChange)) {
|
||||
mBrowserChild->SendNotifyIMETextChange(mContentCache, aIMENotification);
|
||||
} else {
|
||||
mBrowserChild->SendUpdateContentCache(mContentCache);
|
||||
|
|
@ -843,7 +844,8 @@ nsresult PuppetWidget::NotifyIMEOfPositionChange(
|
|||
!mContentCache.CacheCaretAndTextRects(this, &aIMENotification))) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
if (mIMENotificationRequestsOfParent.WantPositionChanged()) {
|
||||
if (mIMENotificationRequestsOfParent.contains(
|
||||
IMENotificationRequest::PositionChange)) {
|
||||
mBrowserChild->SendNotifyIMEPositionChange(mContentCache, aIMENotification);
|
||||
} else {
|
||||
mBrowserChild->SendUpdateContentCache(mContentCache);
|
||||
|
|
@ -1089,10 +1091,9 @@ PuppetWidget::NotifyIME(TextEventDispatcher* aTextEventDispatcher,
|
|||
|
||||
NS_IMETHODIMP_(IMENotificationRequests)
|
||||
PuppetWidget::GetIMENotificationRequests() {
|
||||
return IMENotificationRequests(
|
||||
mIMENotificationRequestsOfParent.mWantUpdates |
|
||||
IMENotificationRequests::NOTIFY_TEXT_CHANGE |
|
||||
IMENotificationRequests::NOTIFY_POSITION_CHANGE);
|
||||
return mIMENotificationRequestsOfParent +
|
||||
IMENotificationRequests{IMENotificationRequest::TextChange,
|
||||
IMENotificationRequest::PositionChange};
|
||||
}
|
||||
|
||||
NS_IMETHODIMP_(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue