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

Side by Side Diff: cc/texture_layer_unittest.cc

Issue 11189011: cc: Remove the temporary header files that aren't prefixed with CC* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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/texture_layer.cc ('k') | cc/texture_update_controller.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 "config.h" 5 #include "config.h"
6 6
7 #include "TextureLayerChromium.h" 7 #include "cc/texture_layer.h"
8 8
9 #include "CCLayerTreeHost.h" 9 #include "CCLayerTreeHost.h"
10 #include "cc/test/fake_layer_tree_host_client.h" 10 #include "cc/test/fake_layer_tree_host_client.h"
11 #include "cc/test/web_compositor_initializer.h" 11 #include "cc/test/web_compositor_initializer.h"
12 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gmock/include/gmock/gmock.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 14
15 using namespace cc; 15 using namespace cc;
16 using ::testing::Mock; 16 using ::testing::Mock;
17 using ::testing::_; 17 using ::testing::_;
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 EXPECT_CALL(*m_layerTreeHost, acquireLayerTextures()).Times(0); 112 EXPECT_CALL(*m_layerTreeHost, acquireLayerTextures()).Times(0);
113 testLayer->setTextureId(1); 113 testLayer->setTextureId(1);
114 Mock::VerifyAndClearExpectations(m_layerTreeHost.get()); 114 Mock::VerifyAndClearExpectations(m_layerTreeHost.get());
115 115
116 EXPECT_CALL(*m_layerTreeHost, acquireLayerTextures()).Times(AtLeast(1)); 116 EXPECT_CALL(*m_layerTreeHost, acquireLayerTextures()).Times(AtLeast(1));
117 testLayer->removeFromParent(); 117 testLayer->removeFromParent();
118 Mock::VerifyAndClearExpectations(m_layerTreeHost.get()); 118 Mock::VerifyAndClearExpectations(m_layerTreeHost.get());
119 } 119 }
120 120
121 } // anonymous namespace 121 } // anonymous namespace
OLDNEW
« no previous file with comments | « cc/texture_layer.cc ('k') | cc/texture_update_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698