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

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

Issue 1547893003: WIP - compositor worker mega patch. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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 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 975 matching lines...) Expand 10 before | Expand all | Expand 10 after
986 { 986 {
987 if (m_webView->rootGraphicsLayer() && m_webView->layerTreeView()) 987 if (m_webView->rootGraphicsLayer() && m_webView->layerTreeView())
988 m_webView->page()->frameHost().visualViewport().registerLayersWithTreeVi ew(m_webView->layerTreeView()); 988 m_webView->page()->frameHost().visualViewport().registerLayersWithTreeVi ew(m_webView->layerTreeView());
989 } 989 }
990 990
991 void ChromeClientImpl::didUpdateTopControls() const 991 void ChromeClientImpl::didUpdateTopControls() const
992 { 992 {
993 m_webView->didUpdateTopControls(); 993 m_webView->didUpdateTopControls();
994 } 994 }
995 995
996 CompositorProxyClient* ChromeClientImpl::createCompositorProxyClient()
997 {
998 return m_webView->createCompositorProxyClient();
999 }
1000
1001 void ChromeClientImpl::schedulePostCommitTask(PassOwnPtr<Closure> task)
1002 {
1003 m_webView->schedulePostCommitTask(task);
1004 }
1005
996 void ChromeClientImpl::registerPopupOpeningObserver(PopupOpeningObserver* observ er) 1006 void ChromeClientImpl::registerPopupOpeningObserver(PopupOpeningObserver* observ er)
997 { 1007 {
998 ASSERT(observer); 1008 ASSERT(observer);
999 m_popupOpeningObservers.append(observer); 1009 m_popupOpeningObservers.append(observer);
1000 } 1010 }
1001 1011
1002 void ChromeClientImpl::unregisterPopupOpeningObserver(PopupOpeningObserver* obse rver) 1012 void ChromeClientImpl::unregisterPopupOpeningObserver(PopupOpeningObserver* obse rver)
1003 { 1013 {
1004 size_t index = m_popupOpeningObservers.find(observer); 1014 size_t index = m_popupOpeningObservers.find(observer);
1005 ASSERT(index != kNotFound); 1015 ASSERT(index != kNotFound);
(...skipping 17 matching lines...) Expand all
1023 if (m_webView->pageImportanceSignals()) 1033 if (m_webView->pageImportanceSignals())
1024 m_webView->pageImportanceSignals()->setIssuedNonGetFetchFromScript(); 1034 m_webView->pageImportanceSignals()->setIssuedNonGetFetchFromScript();
1025 } 1035 }
1026 1036
1027 PassOwnPtr<WebFrameScheduler> ChromeClientImpl::createFrameScheduler() 1037 PassOwnPtr<WebFrameScheduler> ChromeClientImpl::createFrameScheduler()
1028 { 1038 {
1029 return m_webView->scheduler()->createFrameScheduler().release(); 1039 return m_webView->scheduler()->createFrameScheduler().release();
1030 } 1040 }
1031 1041
1032 } // namespace blink 1042 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.h ('k') | third_party/WebKit/Source/web/CompositorMutatorImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698