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

Side by Side Diff: ui/views/animation/ink_drop_impl_unittest.cc

Issue 1968923003: Fix include path for moved thread_task_runner_handle.h header in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "ui/views/animation/ink_drop_impl.h" 5 #include "ui/views/animation/ink_drop_impl.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "base/test/test_simple_task_runner.h" 8 #include "base/test/test_simple_task_runner.h"
9 #include "base/thread_task_runner_handle.h" 9 #include "base/threading/thread_task_runner_handle.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 #include "ui/views/animation/ink_drop_ripple.h" 11 #include "ui/views/animation/ink_drop_ripple.h"
12 #include "ui/views/animation/test/ink_drop_impl_test_api.h" 12 #include "ui/views/animation/test/ink_drop_impl_test_api.h"
13 #include "ui/views/animation/test/test_ink_drop_host.h" 13 #include "ui/views/animation/test/test_ink_drop_host.h"
14 14
15 namespace views { 15 namespace views {
16 16
17 // NOTE: The InkDropImpl class is also tested by the InkDropFactoryTest tests. 17 // NOTE: The InkDropImpl class is also tested by the InkDropFactoryTest tests.
18 class InkDropImplTest : public testing::Test { 18 class InkDropImplTest : public testing::Test {
19 public: 19 public:
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 test_api_.CompleteAnimations(); 222 test_api_.CompleteAnimations();
223 223
224 ink_drop_.SetHovered(false); 224 ink_drop_.SetHovered(false);
225 EXPECT_EQ(1, ink_drop_host_.num_ink_drop_layers()); 225 EXPECT_EQ(1, ink_drop_host_.num_ink_drop_layers());
226 226
227 ink_drop_.SetHovered(true); 227 ink_drop_.SetHovered(true);
228 EXPECT_EQ(1, ink_drop_host_.num_ink_drop_layers()); 228 EXPECT_EQ(1, ink_drop_host_.num_ink_drop_layers());
229 } 229 }
230 230
231 } // namespace views 231 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/animation/ink_drop_factory_unittest.cc ('k') | ui/views/cocoa/bridged_native_widget.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698