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

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

Issue 2834053003: Split V8Binding (Closed)
Patch Set: Revert commit that moved functions back into core Created 3 years, 8 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/ScriptSourceCode.h" 10 #include "bindings/core/v8/ScriptSourceCode.h"
11 #include "bindings/core/v8/V8Binding.h" 11 #include "bindings/core/v8/V8BindingForCore.h"
12 #include "core/dom/Document.h" 12 #include "core/dom/Document.h"
13 #include "core/layout/LayoutTestHelper.h" 13 #include "core/layout/LayoutTestHelper.h"
14 #include "platform/testing/TestingPlatformSupport.h" 14 #include "platform/testing/TestingPlatformSupport.h"
15 #include "testing/gmock/include/gmock/gmock.h" 15 #include "testing/gmock/include/gmock/gmock.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 17
18 using testing::DoubleNear; 18 using testing::DoubleNear;
19 using testing::ElementsAreArray; 19 using testing::ElementsAreArray;
20 using testing::Matcher; 20 using testing::Matcher;
21 21
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 ExecuteScriptAndWaitUntilIdle(kSetIntervalScriptText); 155 ExecuteScriptAndWaitUntilIdle(kSetIntervalScriptText);
156 156
157 auto times(ToDoubleArray(EvalExpression("times"), scope)); 157 auto times(ToDoubleArray(EvalExpression("times"), scope));
158 158
159 EXPECT_THAT(times, ElementsAreArray(kExpectedTimings)); 159 EXPECT_THAT(times, ElementsAreArray(kExpectedTimings));
160 } 160 }
161 161
162 } // namespace 162 } // namespace
163 163
164 } // namespace blink 164 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698