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

Side by Side Diff: webkit/compositor_bindings/web_layer_tree_view_unittest.cc

Issue 11348371: cc: Move WebCompositorOutputSurface and related classes into cc/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: forlanding6 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
« no previous file with comments | « webkit/compositor_bindings/web_layer_tree_view_impl.cc ('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 #include "base/cancelable_callback.h" 5 #include "base/cancelable_callback.h"
6 #include "base/memory/ref_counted.h" 6 #include "base/memory/ref_counted.h"
7 #include "base/threading/thread.h" 7 #include "base/threading/thread.h"
8 #include "cc/proxy.h" 8 #include "cc/proxy.h"
9 #include "cc/thread_impl.h" 9 #include "cc/thread_impl.h"
10 #include "cc/test/compositor_fake_web_graphics_context_3d.h" 10 #include "cc/test/compositor_fake_web_graphics_context_3d.h"
11 #include "cc/test/fake_web_compositor_output_surface.h"
12 #include "testing/gmock/include/gmock/gmock.h" 11 #include "testing/gmock/include/gmock/gmock.h"
13 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h" 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h"
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayerTreeViewCli ent.h" 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayerTreeViewCli ent.h"
15 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayerTreeView.h" 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayerTreeView.h"
16 #include "third_party/WebKit/Source/Platform/chromium/public/WebThread.h" 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebThread.h"
17 #include "webkit/compositor_bindings/test/web_layer_tree_view_test_common.h" 16 #include "webkit/compositor_bindings/test/web_layer_tree_view_test_common.h"
18 #include "webkit/compositor_bindings/web_layer_impl.h" 17 #include "webkit/compositor_bindings/web_layer_impl.h"
19 #include "webkit/compositor_bindings/web_layer_tree_view_impl.h" 18 #include "webkit/compositor_bindings/web_layer_tree_view_impl.h"
20 19
21 using namespace WebKit; 20 using namespace WebKit;
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 135
137 EXPECT_CALL(m_client, willBeginFrame()); 136 EXPECT_CALL(m_client, willBeginFrame());
138 EXPECT_CALL(m_client, willCommit()); 137 EXPECT_CALL(m_client, willCommit());
139 EXPECT_CALL(m_client, didCommit()); 138 EXPECT_CALL(m_client, didCommit());
140 EXPECT_CALL(m_client, didBeginFrame()); 139 EXPECT_CALL(m_client, didBeginFrame());
141 140
142 composite(); 141 composite();
143 } 142 }
144 143
145 } // namespace 144 } // namespace
OLDNEW
« no previous file with comments | « webkit/compositor_bindings/web_layer_tree_view_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698