| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 WebLayerTreeViewImpl::~WebLayerTreeViewImpl() | 59 WebLayerTreeViewImpl::~WebLayerTreeViewImpl() |
| 60 { | 60 { |
| 61 } | 61 } |
| 62 | 62 |
| 63 void WebLayerTreeViewImpl::willBeginFrame() | 63 void WebLayerTreeViewImpl::willBeginFrame() |
| 64 { | 64 { |
| 65 if (m_client) | 65 if (m_client) |
| 66 m_client->willBeginFrame(); | 66 m_client->willBeginFrame(); |
| 67 } | 67 } |
| 68 | 68 |
| 69 void WebLayerTreeViewImpl::updateAnimations(double frameBeginTime) | 69 void WebLayerTreeViewImpl::updateAnimations(double monotonicFrameBeginTime) |
| 70 { | 70 { |
| 71 if (m_client) | 71 if (m_client) |
| 72 m_client->updateAnimations(frameBeginTime); | 72 m_client->updateAnimations(monotonicFrameBeginTime); |
| 73 } | 73 } |
| 74 | 74 |
| 75 void WebLayerTreeViewImpl::layout() | 75 void WebLayerTreeViewImpl::layout() |
| 76 { | 76 { |
| 77 if (m_client) | 77 if (m_client) |
| 78 m_client->layout(); | 78 m_client->layout(); |
| 79 } | 79 } |
| 80 | 80 |
| 81 void WebLayerTreeViewImpl::applyScrollAndScale(const WebCore::IntSize& scrollDel
ta, float pageScale) | 81 void WebLayerTreeViewImpl::applyScrollAndScale(const WebCore::IntSize& scrollDel
ta, float pageScale) |
| 82 { | 82 { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 m_client->didCompleteSwapBuffers(); | 119 m_client->didCompleteSwapBuffers(); |
| 120 } | 120 } |
| 121 | 121 |
| 122 void WebLayerTreeViewImpl::scheduleComposite() | 122 void WebLayerTreeViewImpl::scheduleComposite() |
| 123 { | 123 { |
| 124 if (m_client) | 124 if (m_client) |
| 125 m_client->scheduleComposite(); | 125 m_client->scheduleComposite(); |
| 126 } | 126 } |
| 127 | 127 |
| 128 } // namespace WebKit | 128 } // namespace WebKit |
| OLD | NEW |