OLD | NEW |
1 /* | 1 /* |
| 2 void schedulePostCommitTask(PassOwnPtr<Closure>) override; |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 3 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 * | 5 * |
5 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 7 * modification, are permitted provided that the following conditions are |
7 * met: | 8 * met: |
8 * | 9 * |
9 * * Redistributions of source code must retain the above copyright | 10 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 11 * notice, this list of conditions and the following disclaimer. |
11 * * Redistributions in binary form must reproduce the above | 12 * * Redistributions in binary form must reproduce the above |
(...skipping 979 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
991 { | 992 { |
992 if (m_webView->rootGraphicsLayer() && m_webView->layerTreeView()) | 993 if (m_webView->rootGraphicsLayer() && m_webView->layerTreeView()) |
993 m_webView->page()->frameHost().visualViewport().registerLayersWithTreeVi
ew(m_webView->layerTreeView()); | 994 m_webView->page()->frameHost().visualViewport().registerLayersWithTreeVi
ew(m_webView->layerTreeView()); |
994 } | 995 } |
995 | 996 |
996 void ChromeClientImpl::didUpdateTopControls() const | 997 void ChromeClientImpl::didUpdateTopControls() const |
997 { | 998 { |
998 m_webView->didUpdateTopControls(); | 999 m_webView->didUpdateTopControls(); |
999 } | 1000 } |
1000 | 1001 |
| 1002 CompositorProxyClient* ChromeClientImpl::createCompositorProxyClient() |
| 1003 { |
| 1004 return m_webView->createCompositorProxyClient(); |
| 1005 } |
| 1006 |
| 1007 void ChromeClientImpl::schedulePostCommitTask(PassOwnPtr<Closure> task) |
| 1008 { |
| 1009 m_webView->schedulePostCommitTask(task); |
| 1010 } |
| 1011 |
1001 void ChromeClientImpl::registerPopupOpeningObserver(PopupOpeningObserver* observ
er) | 1012 void ChromeClientImpl::registerPopupOpeningObserver(PopupOpeningObserver* observ
er) |
1002 { | 1013 { |
1003 ASSERT(observer); | 1014 ASSERT(observer); |
1004 m_popupOpeningObservers.append(observer); | 1015 m_popupOpeningObservers.append(observer); |
1005 } | 1016 } |
1006 | 1017 |
1007 void ChromeClientImpl::unregisterPopupOpeningObserver(PopupOpeningObserver* obse
rver) | 1018 void ChromeClientImpl::unregisterPopupOpeningObserver(PopupOpeningObserver* obse
rver) |
1008 { | 1019 { |
1009 size_t index = m_popupOpeningObservers.find(observer); | 1020 size_t index = m_popupOpeningObservers.find(observer); |
1010 ASSERT(index != kNotFound); | 1021 ASSERT(index != kNotFound); |
(...skipping 17 matching lines...) Expand all Loading... |
1028 if (m_webView->pageImportanceSignals()) | 1039 if (m_webView->pageImportanceSignals()) |
1029 m_webView->pageImportanceSignals()->setIssuedNonGetFetchFromScript(); | 1040 m_webView->pageImportanceSignals()->setIssuedNonGetFetchFromScript(); |
1030 } | 1041 } |
1031 | 1042 |
1032 PassOwnPtr<WebFrameScheduler> ChromeClientImpl::createFrameScheduler() | 1043 PassOwnPtr<WebFrameScheduler> ChromeClientImpl::createFrameScheduler() |
1033 { | 1044 { |
1034 return m_webView->scheduler()->createFrameScheduler().release(); | 1045 return m_webView->scheduler()->createFrameScheduler().release(); |
1035 } | 1046 } |
1036 | 1047 |
1037 } // namespace blink | 1048 } // namespace blink |
OLD | NEW |