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

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

Issue 2515363002: Introduce AnimationWorkletProxyClient and necessary plumbing to get it in worklet messaging proxy. (Closed)
Patch Set: address feedback 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
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 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after
1094 1094
1095 void ChromeClientImpl::registerViewportLayers() const { 1095 void ChromeClientImpl::registerViewportLayers() const {
1096 if (m_webView->rootGraphicsLayer() && m_webView->layerTreeView()) 1096 if (m_webView->rootGraphicsLayer() && m_webView->layerTreeView())
1097 m_webView->registerViewportLayersWithCompositor(); 1097 m_webView->registerViewportLayersWithCompositor();
1098 } 1098 }
1099 1099
1100 void ChromeClientImpl::didUpdateBrowserControls() const { 1100 void ChromeClientImpl::didUpdateBrowserControls() const {
1101 m_webView->didUpdateBrowserControls(); 1101 m_webView->didUpdateBrowserControls();
1102 } 1102 }
1103 1103
1104 CompositorProxyClient* ChromeClientImpl::createCompositorProxyClient( 1104 CompositorProxyClientFactory* ChromeClientImpl::compositorProxyClientFactory(
1105 LocalFrame* frame) { 1105 LocalFrame* frame) {
1106 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame); 1106 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame);
1107 return webFrame->localRoot()->frameWidget()->createCompositorProxyClient(); 1107 return webFrame->localRoot()->frameWidget()->compositorProxyClientFactory();
1108 } 1108 }
1109 1109
1110 void ChromeClientImpl::registerPopupOpeningObserver( 1110 void ChromeClientImpl::registerPopupOpeningObserver(
1111 PopupOpeningObserver* observer) { 1111 PopupOpeningObserver* observer) {
1112 DCHECK(observer); 1112 DCHECK(observer);
1113 m_popupOpeningObservers.append(observer); 1113 m_popupOpeningObservers.append(observer);
1114 } 1114 }
1115 1115
1116 void ChromeClientImpl::unregisterPopupOpeningObserver( 1116 void ChromeClientImpl::unregisterPopupOpeningObserver(
1117 PopupOpeningObserver* observer) { 1117 PopupOpeningObserver* observer) {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
1165 if (RuntimeEnabledFeatures::presentationEnabled()) 1165 if (RuntimeEnabledFeatures::presentationEnabled())
1166 PresentationController::provideTo(frame, client->presentationClient()); 1166 PresentationController::provideTo(frame, client->presentationClient());
1167 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) 1167 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled())
1168 provideAudioOutputDeviceClientTo(frame, 1168 provideAudioOutputDeviceClientTo(frame,
1169 AudioOutputDeviceClientImpl::create()); 1169 AudioOutputDeviceClientImpl::create());
1170 if (RuntimeEnabledFeatures::installedAppEnabled()) 1170 if (RuntimeEnabledFeatures::installedAppEnabled())
1171 InstalledAppController::provideTo(frame, client->installedAppClient()); 1171 InstalledAppController::provideTo(frame, client->installedAppClient());
1172 } 1172 }
1173 1173
1174 } // namespace blink 1174 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698