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

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

Issue 19403002: Use a direct include of the message_loop header in cc/, chrome_frame/, cloud_print/, components. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « cc/test/cc_test_suite.cc ('k') | cc/test/run_all_unittests.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 #include "cc/test/fake_output_surface.h" 5 #include "cc/test/fake_output_surface.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "cc/output/compositor_frame_ack.h" 9 #include "cc/output/compositor_frame_ack.h"
10 #include "cc/output/output_surface_client.h" 10 #include "cc/output/output_surface_client.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 12
13 namespace cc { 13 namespace cc {
14 14
15 FakeOutputSurface::FakeOutputSurface( 15 FakeOutputSurface::FakeOutputSurface(
16 scoped_ptr<WebKit::WebGraphicsContext3D> context3d, 16 scoped_ptr<WebKit::WebGraphicsContext3D> context3d,
17 bool delegated_rendering) 17 bool delegated_rendering)
18 : OutputSurface(context3d.Pass()), 18 : OutputSurface(context3d.Pass()),
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 } 92 }
93 93
94 bool FakeOutputSurface::SetAndInitializeContext3D( 94 bool FakeOutputSurface::SetAndInitializeContext3D(
95 scoped_ptr<WebKit::WebGraphicsContext3D> context3d) { 95 scoped_ptr<WebKit::WebGraphicsContext3D> context3d) {
96 context3d_.reset(); 96 context3d_.reset();
97 return InitializeAndSetContext3D(context3d.Pass(), 97 return InitializeAndSetContext3D(context3d.Pass(),
98 scoped_refptr<ContextProvider>()); 98 scoped_refptr<ContextProvider>());
99 } 99 }
100 100
101 } // namespace cc 101 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/cc_test_suite.cc ('k') | cc/test/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698