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

Side by Side Diff: ui/compositor/layer_unittest.cc

Issue 529273002: Change base/file_utils.h includes to base/files/file_utils.h in gin, google_apis, printing, sql, ui… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 | « ui/base/ui_base_paths.cc ('k') | ui/gfx/color_profile_win.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/basictypes.h" 5 #include "base/basictypes.h"
6 #include "base/bind.h" 6 #include "base/bind.h"
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/debug/trace_event.h" 8 #include "base/debug/trace_event.h"
9 #include "base/file_util.h"
10 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/files/file_util.h"
11 #include "base/json/json_reader.h" 11 #include "base/json/json_reader.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "base/path_service.h" 14 #include "base/path_service.h"
15 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
16 #include "base/strings/stringprintf.h" 16 #include "base/strings/stringprintf.h"
17 #include "cc/layers/delegated_frame_provider.h" 17 #include "cc/layers/delegated_frame_provider.h"
18 #include "cc/layers/delegated_frame_resource_collection.h" 18 #include "cc/layers/delegated_frame_resource_collection.h"
19 #include "cc/layers/layer.h" 19 #include "cc/layers/layer.h"
20 #include "cc/output/copy_output_request.h" 20 #include "cc/output/copy_output_request.h"
(...skipping 1701 matching lines...) Expand 10 before | Expand all | Expand 10 after
1722 MakeFrameData(gfx::Size(10, 10)))); 1722 MakeFrameData(gfx::Size(10, 10))));
1723 layer->SetShowDelegatedContent(frame_provider.get(), gfx::Size(10, 10)); 1723 layer->SetShowDelegatedContent(frame_provider.get(), gfx::Size(10, 10));
1724 1724
1725 EXPECT_FALSE(delegate.delegated_frame_damage_called()); 1725 EXPECT_FALSE(delegate.delegated_frame_damage_called());
1726 layer->OnDelegatedFrameDamage(damage_rect); 1726 layer->OnDelegatedFrameDamage(damage_rect);
1727 EXPECT_TRUE(delegate.delegated_frame_damage_called()); 1727 EXPECT_TRUE(delegate.delegated_frame_damage_called());
1728 EXPECT_EQ(damage_rect, delegate.delegated_frame_damage_rect()); 1728 EXPECT_EQ(damage_rect, delegate.delegated_frame_damage_rect());
1729 } 1729 }
1730 1730
1731 } // namespace ui 1731 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/ui_base_paths.cc ('k') | ui/gfx/color_profile_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698