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

Side by Side Diff: third_party/WebKit/Source/core/frame/DOMTimerTest.cpp

Issue 2742573005: Avoid to include IDL-generated headers from EventTarget.h and Node.h (Closed)
Patch Set: . Created 3 years, 9 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 "core/frame/DOMTimer.h" 5 #include "core/frame/DOMTimer.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "bindings/core/v8/ScriptController.h" 9 #include "bindings/core/v8/ScriptController.h"
10 #include "bindings/core/v8/V8Binding.h"
10 #include "core/dom/Document.h" 11 #include "core/dom/Document.h"
11 #include "core/layout/LayoutTestHelper.h" 12 #include "core/layout/LayoutTestHelper.h"
12 #include "platform/testing/TestingPlatformSupport.h" 13 #include "platform/testing/TestingPlatformSupport.h"
13 #include "testing/gmock/include/gmock/gmock.h" 14 #include "testing/gmock/include/gmock/gmock.h"
14 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
15 16
16 using testing::DoubleNear; 17 using testing::DoubleNear;
17 using testing::ElementsAreArray; 18 using testing::ElementsAreArray;
18 using testing::Matcher; 19 using testing::Matcher;
19 20
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 ExecuteScriptAndWaitUntilIdle(kSetIntervalScriptText); 125 ExecuteScriptAndWaitUntilIdle(kSetIntervalScriptText);
125 126
126 auto times(toDoubleArray(EvalExpression("times"), scope)); 127 auto times(toDoubleArray(EvalExpression("times"), scope));
127 128
128 EXPECT_THAT(times, ElementsAreArray(kExpectedTimings)); 129 EXPECT_THAT(times, ElementsAreArray(kExpectedTimings));
129 } 130 }
130 131
131 } // namespace 132 } // namespace
132 133
133 } // namespace blink 134 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/EventTarget.cpp ('k') | third_party/WebKit/Source/core/frame/HostsUsingFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698