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 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1033 void ChromeClientImpl::ajaxSucceeded(LocalFrame* frame) | 1033 void ChromeClientImpl::ajaxSucceeded(LocalFrame* frame) |
1034 { | 1034 { |
1035 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(frame); | 1035 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(frame); |
1036 if (webframe->autofillClient()) | 1036 if (webframe->autofillClient()) |
1037 webframe->autofillClient()->ajaxSucceeded(); | 1037 webframe->autofillClient()->ajaxSucceeded(); |
1038 } | 1038 } |
1039 | 1039 |
1040 void ChromeClientImpl::registerViewportLayers() const | 1040 void ChromeClientImpl::registerViewportLayers() const |
1041 { | 1041 { |
1042 if (m_webView->rootGraphicsLayer() && m_webView->layerTreeView()) | 1042 if (m_webView->rootGraphicsLayer() && m_webView->layerTreeView()) |
1043 m_webView->page()->frameHost().visualViewport().registerLayersWithTreeVi
ew(m_webView->layerTreeView()); | 1043 m_webView->registerViewportLayersWithCompositor(); |
1044 } | 1044 } |
1045 | 1045 |
1046 void ChromeClientImpl::didUpdateTopControls() const | 1046 void ChromeClientImpl::didUpdateTopControls() const |
1047 { | 1047 { |
1048 m_webView->didUpdateTopControls(); | 1048 m_webView->didUpdateTopControls(); |
1049 } | 1049 } |
1050 | 1050 |
1051 CompositorProxyClient* ChromeClientImpl::createCompositorProxyClient(LocalFrame*
frame) | 1051 CompositorProxyClient* ChromeClientImpl::createCompositorProxyClient(LocalFrame*
frame) |
1052 { | 1052 { |
1053 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame); | 1053 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame); |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1089 { | 1089 { |
1090 return wrapUnique(m_webView->scheduler()->createFrameScheduler(blameContext)
.release()); | 1090 return wrapUnique(m_webView->scheduler()->createFrameScheduler(blameContext)
.release()); |
1091 } | 1091 } |
1092 | 1092 |
1093 double ChromeClientImpl::lastFrameTimeMonotonic() const | 1093 double ChromeClientImpl::lastFrameTimeMonotonic() const |
1094 { | 1094 { |
1095 return m_webView->lastFrameTimeMonotonic(); | 1095 return m_webView->lastFrameTimeMonotonic(); |
1096 } | 1096 } |
1097 | 1097 |
1098 } // namespace blink | 1098 } // namespace blink |
OLD | NEW |