OLD | NEW |
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 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1082 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(frame); | 1082 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(frame); |
1083 if (webframe->autofillClient()) | 1083 if (webframe->autofillClient()) |
1084 webframe->autofillClient()->ajaxSucceeded(); | 1084 webframe->autofillClient()->ajaxSucceeded(); |
1085 } | 1085 } |
1086 | 1086 |
1087 void ChromeClientImpl::registerViewportLayers() const { | 1087 void ChromeClientImpl::registerViewportLayers() const { |
1088 if (m_webView->rootGraphicsLayer() && m_webView->layerTreeView()) | 1088 if (m_webView->rootGraphicsLayer() && m_webView->layerTreeView()) |
1089 m_webView->registerViewportLayersWithCompositor(); | 1089 m_webView->registerViewportLayersWithCompositor(); |
1090 } | 1090 } |
1091 | 1091 |
1092 void ChromeClientImpl::didUpdateTopControls() const { | 1092 void ChromeClientImpl::didUpdateBrowserControls() const { |
1093 m_webView->didUpdateTopControls(); | 1093 m_webView->didUpdateBrowserControls(); |
1094 } | 1094 } |
1095 | 1095 |
1096 CompositorProxyClient* ChromeClientImpl::createCompositorProxyClient( | 1096 CompositorProxyClient* ChromeClientImpl::createCompositorProxyClient( |
1097 LocalFrame* frame) { | 1097 LocalFrame* frame) { |
1098 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame); | 1098 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame); |
1099 return webFrame->localRoot()->frameWidget()->createCompositorProxyClient(); | 1099 return webFrame->localRoot()->frameWidget()->createCompositorProxyClient(); |
1100 } | 1100 } |
1101 | 1101 |
1102 void ChromeClientImpl::registerPopupOpeningObserver( | 1102 void ChromeClientImpl::registerPopupOpeningObserver( |
1103 PopupOpeningObserver* observer) { | 1103 PopupOpeningObserver* observer) { |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |
OLD | NEW |