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

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

Issue 12212099: cc: remove FontAtlas (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase to 182043 Created 7 years, 10 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
« no previous file with comments | « cc/layer_tree_host_client.h ('k') | cc/test/fake_layer_tree_host_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4
5 #ifndef CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_ 5 #ifndef CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_
6 #define CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_ 6 #define CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "cc/font_atlas.h"
10 #include "cc/input_handler.h" 9 #include "cc/input_handler.h"
11 #include "cc/layer_tree_host.h" 10 #include "cc/layer_tree_host.h"
12 #include "cc/test/fake_output_surface.h" 11 #include "cc/test/fake_output_surface.h"
13 12
14 namespace cc { 13 namespace cc {
15 14
16 class FakeLayerImplTreeHostClient : public LayerTreeHostClient { 15 class FakeLayerImplTreeHostClient : public LayerTreeHostClient {
17 public: 16 public:
18 FakeLayerImplTreeHostClient(bool useSoftwareRendering = false, bool useDeleg atingRenderer = false) 17 FakeLayerImplTreeHostClient(bool useSoftwareRendering = false, bool useDeleg atingRenderer = false)
19 : m_useSoftwareRendering(useSoftwareRendering) 18 : m_useSoftwareRendering(useSoftwareRendering)
(...skipping 11 matching lines...) Expand all
31 virtual void didRecreateOutputSurface(bool success) OVERRIDE { } 30 virtual void didRecreateOutputSurface(bool success) OVERRIDE { }
32 virtual scoped_ptr<InputHandler> createInputHandler() OVERRIDE; 31 virtual scoped_ptr<InputHandler> createInputHandler() OVERRIDE;
33 virtual void willCommit() OVERRIDE { } 32 virtual void willCommit() OVERRIDE { }
34 virtual void didCommit() OVERRIDE { } 33 virtual void didCommit() OVERRIDE { }
35 virtual void didCommitAndDrawFrame() OVERRIDE { } 34 virtual void didCommitAndDrawFrame() OVERRIDE { }
36 virtual void didCompleteSwapBuffers() OVERRIDE { } 35 virtual void didCompleteSwapBuffers() OVERRIDE { }
37 36
38 // Used only in the single-threaded path. 37 // Used only in the single-threaded path.
39 virtual void scheduleComposite() OVERRIDE { } 38 virtual void scheduleComposite() OVERRIDE { }
40 39
41 virtual scoped_ptr<FontAtlas> createFontAtlas() OVERRIDE;
42
43 private: 40 private:
44 bool m_useSoftwareRendering; 41 bool m_useSoftwareRendering;
45 bool m_useDelegatingRenderer; 42 bool m_useDelegatingRenderer;
46 }; 43 };
47 44
48 } // namespace cc 45 } // namespace cc
49 46
50 #endif // CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_ 47 #endif // CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_
OLDNEW
« no previous file with comments | « cc/layer_tree_host_client.h ('k') | cc/test/fake_layer_tree_host_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698