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

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

Issue 479183002: Declaring the weak_ptr_factory in proper order. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporated the 'nit' comment Created 6 years, 3 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/resources/pixel_buffer_raster_worker_pool.h ('k') | no next file » | 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_OUTPUT_SURFACE_H_ 5 #ifndef CC_TEST_FAKE_OUTPUT_SURFACE_H_
6 #define CC_TEST_FAKE_OUTPUT_SURFACE_H_ 6 #define CC_TEST_FAKE_OUTPUT_SURFACE_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 bool delegated_rendering); 134 bool delegated_rendering);
135 135
136 void OnBeginFrame(); 136 void OnBeginFrame();
137 137
138 OutputSurfaceClient* client_; 138 OutputSurfaceClient* client_;
139 CompositorFrame last_sent_frame_; 139 CompositorFrame last_sent_frame_;
140 size_t num_sent_frames_; 140 size_t num_sent_frames_;
141 bool needs_begin_frame_; 141 bool needs_begin_frame_;
142 bool has_external_stencil_test_; 142 bool has_external_stencil_test_;
143 TransferableResourceArray resources_held_by_parent_; 143 TransferableResourceArray resources_held_by_parent_;
144 scoped_ptr<ManagedMemoryPolicy> memory_policy_to_set_at_bind_;
145
144 base::WeakPtrFactory<FakeOutputSurface> fake_weak_ptr_factory_; 146 base::WeakPtrFactory<FakeOutputSurface> fake_weak_ptr_factory_;
145 scoped_ptr<ManagedMemoryPolicy> memory_policy_to_set_at_bind_;
146 }; 147 };
147 148
148 } // namespace cc 149 } // namespace cc
149 150
150 #endif // CC_TEST_FAKE_OUTPUT_SURFACE_H_ 151 #endif // CC_TEST_FAKE_OUTPUT_SURFACE_H_
OLDNEW
« no previous file with comments | « cc/resources/pixel_buffer_raster_worker_pool.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698