Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(597)

Side by Side Diff: third_party/WebKit/Source/web/ChromeClientImpl.cpp

Issue 2561543003: Move call path for resetInputMethod (Closed)
Patch Set: rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 994 matching lines...) Expand 10 before | Expand all | Expand 10 after
1005 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(frame); 1005 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(frame);
1006 if (webframe->autofillClient()) 1006 if (webframe->autofillClient())
1007 webframe->autofillClient()->didAssociateFormControlsDynamically(); 1007 webframe->autofillClient()->didAssociateFormControlsDynamically();
1008 } 1008 }
1009 1009
1010 void ChromeClientImpl::didCancelCompositionOnSelectionChange() { 1010 void ChromeClientImpl::didCancelCompositionOnSelectionChange() {
1011 if (m_webView->client()) 1011 if (m_webView->client())
1012 m_webView->client()->didCancelCompositionOnSelectionChange(); 1012 m_webView->client()->didCancelCompositionOnSelectionChange();
1013 } 1013 }
1014 1014
1015 void ChromeClientImpl::willSetInputMethodState() { 1015 void ChromeClientImpl::resetInputMethod() {
1016 if (m_webView->client()) 1016 if (m_webView->client())
1017 m_webView->client()->resetInputMethod(); 1017 m_webView->client()->resetInputMethod();
1018 } 1018 }
1019 1019
1020 void ChromeClientImpl::showImeIfNeeded() { 1020 void ChromeClientImpl::showImeIfNeeded() {
1021 if (m_webView->client()) 1021 if (m_webView->client())
1022 m_webView->client()->showImeIfNeeded(); 1022 m_webView->client()->showImeIfNeeded();
1023 } 1023 }
1024 1024
1025 void ChromeClientImpl::showUnhandledTapUIIfNeeded( 1025 void ChromeClientImpl::showUnhandledTapUIIfNeeded(
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
1161 if (RuntimeEnabledFeatures::presentationEnabled()) 1161 if (RuntimeEnabledFeatures::presentationEnabled())
1162 PresentationController::provideTo(frame, client->presentationClient()); 1162 PresentationController::provideTo(frame, client->presentationClient());
1163 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) 1163 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled())
1164 provideAudioOutputDeviceClientTo(frame, 1164 provideAudioOutputDeviceClientTo(frame,
1165 AudioOutputDeviceClientImpl::create()); 1165 AudioOutputDeviceClientImpl::create());
1166 if (RuntimeEnabledFeatures::installedAppEnabled()) 1166 if (RuntimeEnabledFeatures::installedAppEnabled())
1167 InstalledAppController::provideTo(frame, client->installedAppClient()); 1167 InstalledAppController::provideTo(frame, client->installedAppClient());
1168 } 1168 }
1169 1169
1170 } // namespace blink 1170 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698