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

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

Issue 2741993003: Revert restartInput change off the M57 release branch. (Closed)
Patch Set: Rebase Created 3 years, 9 months 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
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 1000 matching lines...) Expand 10 before | Expand all | Expand 10 after
1011 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(frame); 1011 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(frame);
1012 if (webframe->autofillClient()) 1012 if (webframe->autofillClient())
1013 webframe->autofillClient()->didAssociateFormControlsDynamically(); 1013 webframe->autofillClient()->didAssociateFormControlsDynamically();
1014 } 1014 }
1015 1015
1016 void ChromeClientImpl::didCancelCompositionOnSelectionChange() { 1016 void ChromeClientImpl::didCancelCompositionOnSelectionChange() {
1017 if (m_webView->client()) 1017 if (m_webView->client())
1018 m_webView->client()->didCancelCompositionOnSelectionChange(); 1018 m_webView->client()->didCancelCompositionOnSelectionChange();
1019 } 1019 }
1020 1020
1021 void ChromeClientImpl::resetInputMethod() {
1022 if (m_webView->client())
1023 m_webView->client()->resetInputMethod();
1024 }
1025
1021 void ChromeClientImpl::showVirtualKeyboard() { 1026 void ChromeClientImpl::showVirtualKeyboard() {
1022 if (m_webView->client()) 1027 if (m_webView->client())
1023 m_webView->client()->showVirtualKeyboard(); 1028 m_webView->client()->showVirtualKeyboard();
1024 } 1029 }
1025 1030
1026 void ChromeClientImpl::showUnhandledTapUIIfNeeded( 1031 void ChromeClientImpl::showUnhandledTapUIIfNeeded(
1027 IntPoint tappedPositionInViewport, 1032 IntPoint tappedPositionInViewport,
1028 Node* tappedNode, 1033 Node* tappedNode,
1029 bool pageChanged) { 1034 bool pageChanged) {
1030 if (m_webView->client()) 1035 if (m_webView->client())
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
1161 PresentationController::provideTo(frame, client->presentationClient()); 1166 PresentationController::provideTo(frame, client->presentationClient());
1162 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { 1167 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) {
1163 provideAudioOutputDeviceClientTo(frame, 1168 provideAudioOutputDeviceClientTo(frame,
1164 new AudioOutputDeviceClientImpl(frame)); 1169 new AudioOutputDeviceClientImpl(frame));
1165 } 1170 }
1166 if (RuntimeEnabledFeatures::installedAppEnabled()) 1171 if (RuntimeEnabledFeatures::installedAppEnabled())
1167 InstalledAppController::provideTo(frame, client->installedAppClient()); 1172 InstalledAppController::provideTo(frame, client->installedAppClient());
1168 } 1173 }
1169 1174
1170 } // namespace blink 1175 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.h ('k') | third_party/WebKit/public/web/WebViewClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698