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

Side by Side Diff: cc/test/fake_proxy.cc

Issue 1499793003: Fix classes that have too many virtuals for inline constructors. Base URL: https://chromium.googlesource.com/chromium/src.git@enable-virtuals-as-complexity
Patch Set: Finish fixing the codebase that's accessible from Linux. Created 5 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
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 #include "cc/test/fake_proxy.h" 5 #include "cc/test/fake_proxy.h"
6 6
7 namespace cc { 7 namespace cc {
8 8
9 FakeProxy::FakeProxy() : layer_tree_host_(nullptr) {}
10
9 void FakeProxy::SetLayerTreeHost(LayerTreeHost* host) { 11 void FakeProxy::SetLayerTreeHost(LayerTreeHost* host) {
10 layer_tree_host_ = host; 12 layer_tree_host_ = host;
11 } 13 }
12 14
13 bool FakeProxy::IsStarted() const { return true; } 15 bool FakeProxy::IsStarted() const { return true; }
14 16
15 bool FakeProxy::CommitToActiveTree() const { 17 bool FakeProxy::CommitToActiveTree() const {
16 return false; 18 return false;
17 } 19 }
18 20
(...skipping 13 matching lines...) Expand all
32 34
33 bool FakeProxy::SupportsImplScrolling() const { 35 bool FakeProxy::SupportsImplScrolling() const {
34 return true; 36 return true;
35 } 37 }
36 38
37 bool FakeProxy::MainFrameWillHappenForTesting() { 39 bool FakeProxy::MainFrameWillHappenForTesting() {
38 return false; 40 return false;
39 } 41 }
40 42
41 } // namespace cc 43 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/fake_proxy.h ('k') | cc/trees/property_tree.h » ('j') | cc/trees/property_tree.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698