| 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 919 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 930 m_webView->hasTouchEventHandlers(properties != WebEventListenerPrope
rties::Nothing || eventListenerProperties(WebEventListenerClass::TouchStartOrMov
e) != WebEventListenerProperties::Nothing); | 930 m_webView->hasTouchEventHandlers(properties != WebEventListenerPrope
rties::Nothing || eventListenerProperties(WebEventListenerClass::TouchStartOrMov
e) != WebEventListenerProperties::Nothing); |
| 931 } | 931 } |
| 932 } else { | 932 } else { |
| 933 m_webView->hasTouchEventHandlers(true); | 933 m_webView->hasTouchEventHandlers(true); |
| 934 } | 934 } |
| 935 } | 935 } |
| 936 | 936 |
| 937 void ChromeClientImpl::beginLifecycleUpdates() | 937 void ChromeClientImpl::beginLifecycleUpdates() |
| 938 { | 938 { |
| 939 if (WebLayerTreeView* treeView = m_webView->layerTreeView()) { | 939 if (WebLayerTreeView* treeView = m_webView->layerTreeView()) { |
| 940 LOG(ERROR) << "Start painting"; |
| 940 treeView->setDeferCommits(false); | 941 treeView->setDeferCommits(false); |
| 941 treeView->setNeedsBeginFrame(); | 942 treeView->setNeedsBeginFrame(); |
| 942 } | 943 } |
| 943 } | 944 } |
| 944 | 945 |
| 945 WebEventListenerProperties ChromeClientImpl::eventListenerProperties(WebEventLis
tenerClass eventClass) const | 946 WebEventListenerProperties ChromeClientImpl::eventListenerProperties(WebEventLis
tenerClass eventClass) const |
| 946 { | 947 { |
| 947 if (WebLayerTreeView* treeView = m_webView->layerTreeView()) | 948 if (WebLayerTreeView* treeView = m_webView->layerTreeView()) |
| 948 return treeView->eventListenerProperties(eventClass); | 949 return treeView->eventListenerProperties(eventClass); |
| 949 return WebEventListenerProperties::Nothing; | 950 return WebEventListenerProperties::Nothing; |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1118 { | 1119 { |
| 1119 return adoptPtr(m_webView->scheduler()->createFrameScheduler(blameContext).r
elease()); | 1120 return adoptPtr(m_webView->scheduler()->createFrameScheduler(blameContext).r
elease()); |
| 1120 } | 1121 } |
| 1121 | 1122 |
| 1122 double ChromeClientImpl::lastFrameTimeMonotonic() const | 1123 double ChromeClientImpl::lastFrameTimeMonotonic() const |
| 1123 { | 1124 { |
| 1124 return m_webView->lastFrameTimeMonotonic(); | 1125 return m_webView->lastFrameTimeMonotonic(); |
| 1125 } | 1126 } |
| 1126 | 1127 |
| 1127 } // namespace blink | 1128 } // namespace blink |
| OLD | NEW |