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

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

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 24 matching lines...) Expand all
35 class WebLayerTreeViewClient; 35 class WebLayerTreeViewClient;
36 36
37 class WebLayerTreeViewImpl : public WebCore::CCLayerTreeHost, public WebCore::CC LayerTreeHostClient { 37 class WebLayerTreeViewImpl : public WebCore::CCLayerTreeHost, public WebCore::CC LayerTreeHostClient {
38 public: 38 public:
39 static PassRefPtr<WebLayerTreeViewImpl> create(WebLayerTreeViewClient*, cons t WebLayer& root, const WebLayerTreeView::Settings&); 39 static PassRefPtr<WebLayerTreeViewImpl> create(WebLayerTreeViewClient*, cons t WebLayer& root, const WebLayerTreeView::Settings&);
40 40
41 private: 41 private:
42 WebLayerTreeViewImpl(WebLayerTreeViewClient*, const WebLayerTreeView::Settin gs&); 42 WebLayerTreeViewImpl(WebLayerTreeViewClient*, const WebLayerTreeView::Settin gs&);
43 virtual ~WebLayerTreeViewImpl(); 43 virtual ~WebLayerTreeViewImpl();
44 virtual void willBeginFrame(); 44 virtual void willBeginFrame();
45 virtual void updateAnimations(double frameBeginTime); 45 virtual void updateAnimations(double monotonicFrameBeginTime);
46 virtual void layout(); 46 virtual void layout();
47 virtual void applyScrollAndScale(const WebCore::IntSize& scrollDelta, float pageScale); 47 virtual void applyScrollAndScale(const WebCore::IntSize& scrollDelta, float pageScale);
48 virtual PassRefPtr<WebCore::GraphicsContext3D> createContext(); 48 virtual PassRefPtr<WebCore::GraphicsContext3D> createContext();
49 virtual void didRecreateContext(bool success); 49 virtual void didRecreateContext(bool success);
50 virtual void didCommit(); 50 virtual void didCommit();
51 virtual void didCommitAndDrawFrame(); 51 virtual void didCommitAndDrawFrame();
52 virtual void didCompleteSwapBuffers(); 52 virtual void didCompleteSwapBuffers();
53 53
54 // Only used in the single threaded path. 54 // Only used in the single threaded path.
55 virtual void scheduleComposite(); 55 virtual void scheduleComposite();
56 56
57 WebLayerTreeViewClient* m_client; 57 WebLayerTreeViewClient* m_client;
58 }; 58 };
59 59
60 } // namespace WebKit 60 } // namespace WebKit
61 61
62 #endif // WebLayerTreeViewImpl_h 62 #endif // WebLayerTreeViewImpl_h
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/public/WebWidget.h ('k') | Source/WebKit/chromium/src/WebLayerTreeViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698