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

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

Issue 2834053003: Split V8Binding (Closed)
Patch Set: Rebase Created 3 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 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/IDLTypes.h" 9 #include "bindings/core/v8/IDLTypes.h"
10 #include "bindings/core/v8/NativeValueTraitsImpl.h" 10 #include "bindings/core/v8/NativeValueTraitsImpl.h"
11 #include "bindings/core/v8/ScriptController.h" 11 #include "bindings/core/v8/ScriptController.h"
12 #include "bindings/core/v8/ScriptSourceCode.h" 12 #include "bindings/core/v8/ScriptSourceCode.h"
13 #include "bindings/core/v8/V8Binding.h" 13 #include "bindings/core/v8/V8BindingForCore.h"
14 #include "core/dom/Document.h" 14 #include "core/dom/Document.h"
15 #include "core/layout/LayoutTestHelper.h" 15 #include "core/layout/LayoutTestHelper.h"
16 #include "platform/testing/TestingPlatformSupport.h" 16 #include "platform/testing/TestingPlatformSupport.h"
17 #include "testing/gmock/include/gmock/gmock.h" 17 #include "testing/gmock/include/gmock/gmock.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 19
20 using testing::DoubleNear; 20 using testing::DoubleNear;
21 using testing::ElementsAreArray; 21 using testing::ElementsAreArray;
22 using testing::Matcher; 22 using testing::Matcher;
23 23
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 ExecuteScriptAndWaitUntilIdle(kSetIntervalScriptText); 157 ExecuteScriptAndWaitUntilIdle(kSetIntervalScriptText);
158 158
159 auto times(ToDoubleArray(EvalExpression("times"), scope)); 159 auto times(ToDoubleArray(EvalExpression("times"), scope));
160 160
161 EXPECT_THAT(times, ElementsAreArray(kExpectedTimings)); 161 EXPECT_THAT(times, ElementsAreArray(kExpectedTimings));
162 } 162 }
163 163
164 } // namespace 164 } // namespace
165 165
166 } // namespace blink 166 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/exported/WebBlob.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