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

Side by Side Diff: cc/surfaces/surface_factory_unittest.cc

Issue 660333004: cc cleanup: Update paths to geometry headers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 years, 1 month 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/surfaces/surface_aggregator_test_helpers.h ('k') | cc/surfaces/surface_unittest.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/output/compositor_frame.h" 5 #include "cc/output/compositor_frame.h"
6 #include "cc/output/delegated_frame_data.h" 6 #include "cc/output/delegated_frame_data.h"
7 #include "cc/surfaces/surface.h" 7 #include "cc/surfaces/surface.h"
8 #include "cc/surfaces/surface_factory.h" 8 #include "cc/surfaces/surface_factory.h"
9 #include "cc/surfaces/surface_factory_client.h" 9 #include "cc/surfaces/surface_factory_client.h"
10 #include "cc/surfaces/surface_manager.h" 10 #include "cc/surfaces/surface_manager.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 #include "ui/gfx/size.h" 12 #include "ui/gfx/geometry/size.h"
13 13
14 namespace cc { 14 namespace cc {
15 namespace { 15 namespace {
16 16
17 class TestSurfaceFactoryClient : public SurfaceFactoryClient { 17 class TestSurfaceFactoryClient : public SurfaceFactoryClient {
18 public: 18 public:
19 TestSurfaceFactoryClient() {} 19 TestSurfaceFactoryClient() {}
20 ~TestSurfaceFactoryClient() override {} 20 ~TestSurfaceFactoryClient() override {}
21 21
22 void ReturnResources(const ReturnedResourceArray& resources) override { 22 void ReturnResources(const ReturnedResourceArray& resources) override {
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 factory_.Create(id2, gfx::Size(5, 5)); 393 factory_.Create(id2, gfx::Size(5, 5));
394 sequence.clear(); 394 sequence.clear();
395 sequence.insert(SurfaceSequence(0, 6)); 395 sequence.insert(SurfaceSequence(0, 6));
396 DCHECK(manager_.GetSurfaceForId(id2)); 396 DCHECK(manager_.GetSurfaceForId(id2));
397 factory_.DestroyOnSequence(id2, sequence); 397 factory_.DestroyOnSequence(id2, sequence);
398 DCHECK(!manager_.GetSurfaceForId(id2)); 398 DCHECK(!manager_.GetSurfaceForId(id2));
399 } 399 }
400 400
401 } // namespace 401 } // namespace
402 } // namespace cc 402 } // namespace cc
OLDNEW
« no previous file with comments | « cc/surfaces/surface_aggregator_test_helpers.h ('k') | cc/surfaces/surface_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698