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

Side by Side Diff: third_party/WebKit/Source/core/testing/Internals.cpp

Issue 2810843002: bindings: Make the sequence conversion code more complaint with WebIDL. (Closed)
Patch Set: 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 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 #include "core/testing/CallbackFunctionTest.h" 117 #include "core/testing/CallbackFunctionTest.h"
118 #include "core/testing/DictionaryTest.h" 118 #include "core/testing/DictionaryTest.h"
119 #include "core/testing/GCObservation.h" 119 #include "core/testing/GCObservation.h"
120 #include "core/testing/InternalRuntimeFlags.h" 120 #include "core/testing/InternalRuntimeFlags.h"
121 #include "core/testing/InternalSettings.h" 121 #include "core/testing/InternalSettings.h"
122 #include "core/testing/LayerRect.h" 122 #include "core/testing/LayerRect.h"
123 #include "core/testing/LayerRectList.h" 123 #include "core/testing/LayerRectList.h"
124 #include "core/testing/MockHyphenation.h" 124 #include "core/testing/MockHyphenation.h"
125 #include "core/testing/OriginTrialsTest.h" 125 #include "core/testing/OriginTrialsTest.h"
126 #include "core/testing/RecordTest.h" 126 #include "core/testing/RecordTest.h"
127 #include "core/testing/SequenceTest.h"
127 #include "core/testing/TypeConversions.h" 128 #include "core/testing/TypeConversions.h"
128 #include "core/testing/UnionTypesTest.h" 129 #include "core/testing/UnionTypesTest.h"
129 #include "core/workers/WorkerThread.h" 130 #include "core/workers/WorkerThread.h"
130 #include "gpu/command_buffer/client/gles2_interface.h" 131 #include "gpu/command_buffer/client/gles2_interface.h"
131 #include "platform/Cursor.h" 132 #include "platform/Cursor.h"
132 #include "platform/InstanceCounters.h" 133 #include "platform/InstanceCounters.h"
133 #include "platform/Language.h" 134 #include "platform/Language.h"
134 #include "platform/LayoutLocale.h" 135 #include "platform/LayoutLocale.h"
135 #include "platform/RuntimeEnabledFeatures.h" 136 #include "platform/RuntimeEnabledFeatures.h"
136 #include "platform/geometry/IntRect.h" 137 #include "platform/geometry/IntRect.h"
(...skipping 2244 matching lines...) Expand 10 before | Expand all | Expand 10 after
2381 } 2382 }
2382 2383
2383 DictionaryTest* Internals::dictionaryTest() const { 2384 DictionaryTest* Internals::dictionaryTest() const {
2384 return DictionaryTest::Create(); 2385 return DictionaryTest::Create();
2385 } 2386 }
2386 2387
2387 RecordTest* Internals::recordTest() const { 2388 RecordTest* Internals::recordTest() const {
2388 return RecordTest::Create(); 2389 return RecordTest::Create();
2389 } 2390 }
2390 2391
2392 SequenceTest* Internals::sequenceTest() const {
2393 return SequenceTest::create();
2394 }
2395
2391 UnionTypesTest* Internals::unionTypesTest() const { 2396 UnionTypesTest* Internals::unionTypesTest() const {
2392 return UnionTypesTest::Create(); 2397 return UnionTypesTest::Create();
2393 } 2398 }
2394 2399
2395 OriginTrialsTest* Internals::originTrialsTest() const { 2400 OriginTrialsTest* Internals::originTrialsTest() const {
2396 return OriginTrialsTest::Create(); 2401 return OriginTrialsTest::Create();
2397 } 2402 }
2398 2403
2399 CallbackFunctionTest* Internals::callbackFunctionTest() const { 2404 CallbackFunctionTest* Internals::callbackFunctionTest() const {
2400 return CallbackFunctionTest::Create(); 2405 return CallbackFunctionTest::Create();
(...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after
3275 3280
3276 void Internals::crash() { 3281 void Internals::crash() {
3277 CHECK(false) << "Intentional crash"; 3282 CHECK(false) << "Intentional crash";
3278 } 3283 }
3279 3284
3280 void Internals::setIsLowEndDevice(bool is_low_end_device) { 3285 void Internals::setIsLowEndDevice(bool is_low_end_device) {
3281 MemoryCoordinator::SetIsLowEndDeviceForTesting(is_low_end_device); 3286 MemoryCoordinator::SetIsLowEndDeviceForTesting(is_low_end_device);
3282 } 3287 }
3283 3288
3284 } // namespace blink 3289 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698