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 1060 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1071 { | 1071 { |
1072 if (m_webView->rootGraphicsLayer() && m_webView->layerTreeView()) | 1072 if (m_webView->rootGraphicsLayer() && m_webView->layerTreeView()) |
1073 m_webView->page()->frameHost().visualViewport().registerLayersWithTreeVi
ew(m_webView->layerTreeView()); | 1073 m_webView->page()->frameHost().visualViewport().registerLayersWithTreeVi
ew(m_webView->layerTreeView()); |
1074 } | 1074 } |
1075 | 1075 |
1076 void ChromeClientImpl::didUpdateTopControls() const | 1076 void ChromeClientImpl::didUpdateTopControls() const |
1077 { | 1077 { |
1078 m_webView->didUpdateTopControls(); | 1078 m_webView->didUpdateTopControls(); |
1079 } | 1079 } |
1080 | 1080 |
| 1081 void ChromeClientImpl::didUpdateRootScrollerLayer(WebLayer* rootScrollerLayer) c
onst |
| 1082 { |
| 1083 m_webView->didUpdateRootScrollerLayer(rootScrollerLayer); |
| 1084 } |
| 1085 |
1081 CompositorProxyClient* ChromeClientImpl::createCompositorProxyClient(LocalFrame*
frame) | 1086 CompositorProxyClient* ChromeClientImpl::createCompositorProxyClient(LocalFrame*
frame) |
1082 { | 1087 { |
1083 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame); | 1088 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame); |
1084 return webFrame->localRoot()->frameWidget()->createCompositorProxyClient(); | 1089 return webFrame->localRoot()->frameWidget()->createCompositorProxyClient(); |
1085 } | 1090 } |
1086 | 1091 |
1087 void ChromeClientImpl::registerPopupOpeningObserver(PopupOpeningObserver* observ
er) | 1092 void ChromeClientImpl::registerPopupOpeningObserver(PopupOpeningObserver* observ
er) |
1088 { | 1093 { |
1089 DCHECK(observer); | 1094 DCHECK(observer); |
1090 m_popupOpeningObservers.append(observer); | 1095 m_popupOpeningObservers.append(observer); |
(...skipping 28 matching lines...) Expand all Loading... |
1119 { | 1124 { |
1120 return wrapUnique(m_webView->scheduler()->createFrameScheduler(blameContext)
.release()); | 1125 return wrapUnique(m_webView->scheduler()->createFrameScheduler(blameContext)
.release()); |
1121 } | 1126 } |
1122 | 1127 |
1123 double ChromeClientImpl::lastFrameTimeMonotonic() const | 1128 double ChromeClientImpl::lastFrameTimeMonotonic() const |
1124 { | 1129 { |
1125 return m_webView->lastFrameTimeMonotonic(); | 1130 return m_webView->lastFrameTimeMonotonic(); |
1126 } | 1131 } |
1127 | 1132 |
1128 } // namespace blink | 1133 } // namespace blink |
OLD | NEW |