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

Unified Diff: third_party/WebKit/Source/web/ChromeClientImpl.cpp

Issue 2644653003: Make OffscreenCanvas animation in sync with its placeholder canvas's parent frame rate (Closed)
Patch Set: rebase again Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/ChromeClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
index c41e1114225fb6c73a49dd6c7b2519215080ad7f..617bc5e4a4da7982c3b25631ad4414ad4487db8d 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
@@ -51,6 +51,7 @@
#include "core/layout/compositing/CompositedSelection.h"
#include "core/loader/DocumentLoader.h"
#include "core/loader/FrameLoadRequest.h"
+#include "core/page/ChromeClient.h"
#include "core/page/Page.h"
#include "core/page/PopupOpeningObserver.h"
#include "modules/accessibility/AXObject.h"
@@ -928,6 +929,11 @@ bool ChromeClientImpl::shouldOpenModalDialogDuringPageDismissal(
return false;
}
+WebLayerTreeView* ChromeClientImpl::getWebLayerTreeView(LocalFrame* frame) {
+ WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame);
+ return webFrame->localRoot()->frameWidget()->getLayerTreeView();
+}
+
void ChromeClientImpl::setEventListenerProperties(
LocalFrame* frame,
WebEventListenerClass eventClass,
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.h ('k') | third_party/WebKit/public/platform/WebLayerTreeView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698