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

Side by Side Diff: cc/test/fake_layer_tree_host_client.h

Issue 11293121: Add latency measurement system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor input event changes Created 8 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 #ifndef CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_ 4 #ifndef CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_
5 #define CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_ 5 #define CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "cc/font_atlas.h" 8 #include "cc/font_atlas.h"
9 #include "cc/input_handler.h" 9 #include "cc/input_handler.h"
10 #include "cc/layer_tree_host.h" 10 #include "cc/layer_tree_host.h"
(...skipping 16 matching lines...) Expand all
27 virtual void layout() OVERRIDE { } 27 virtual void layout() OVERRIDE { }
28 virtual void applyScrollAndScale(gfx::Vector2d scrollDelta, float pageScale) OVERRIDE { } 28 virtual void applyScrollAndScale(gfx::Vector2d scrollDelta, float pageScale) OVERRIDE { }
29 29
30 virtual scoped_ptr<OutputSurface> createOutputSurface() OVERRIDE; 30 virtual scoped_ptr<OutputSurface> createOutputSurface() OVERRIDE;
31 virtual void didRecreateOutputSurface(bool success) OVERRIDE { } 31 virtual void didRecreateOutputSurface(bool success) OVERRIDE { }
32 virtual scoped_ptr<InputHandler> createInputHandler() OVERRIDE; 32 virtual scoped_ptr<InputHandler> createInputHandler() OVERRIDE;
33 virtual void willCommit() OVERRIDE { } 33 virtual void willCommit() OVERRIDE { }
34 virtual void didCommit() OVERRIDE { } 34 virtual void didCommit() OVERRIDE { }
35 virtual void didCommitAndDrawFrame() OVERRIDE { } 35 virtual void didCommitAndDrawFrame() OVERRIDE { }
36 virtual void didCompleteSwapBuffers() OVERRIDE { } 36 virtual void didCompleteSwapBuffers() OVERRIDE { }
37 virtual void onReceivedLatencyInfo(const WebKit::WebLatencyInfoImpl&) OVERRI DE { }
37 38
38 // Used only in the single-threaded path. 39 // Used only in the single-threaded path.
39 virtual void scheduleComposite() OVERRIDE { } 40 virtual void scheduleComposite() OVERRIDE { }
40 41
41 virtual scoped_ptr<FontAtlas> createFontAtlas() OVERRIDE; 42 virtual scoped_ptr<FontAtlas> createFontAtlas() OVERRIDE;
42 43
43 private: 44 private:
44 bool m_useSoftwareRendering; 45 bool m_useSoftwareRendering;
45 bool m_useDelegatingRenderer; 46 bool m_useDelegatingRenderer;
46 }; 47 };
47 48
48 } 49 }
49 #endif // CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_ 50 #endif // CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698