Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Side by Side Diff: Source/WebKit/chromium/src/WebLayerTreeViewImpl.cpp

Issue 9933003: Merge 112360 - [chromium] Route monotonic clock up from compositor (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/WebLayerTreeViewImpl.h ('k') | Source/WebKit/chromium/src/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698