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: third_party/WebKit/Source/core/testing/Internals.cpp

Issue 2709983004: WIP bindings: Add support for the record<K,V> WebIDL type. (Closed)
Patch Set: Rebased patch using NativeValueTraits for IDL types 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 /* 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 #include "core/svg/SVGImageElement.h" 115 #include "core/svg/SVGImageElement.h"
116 #include "core/testing/CallbackFunctionTest.h" 116 #include "core/testing/CallbackFunctionTest.h"
117 #include "core/testing/DictionaryTest.h" 117 #include "core/testing/DictionaryTest.h"
118 #include "core/testing/GCObservation.h" 118 #include "core/testing/GCObservation.h"
119 #include "core/testing/InternalRuntimeFlags.h" 119 #include "core/testing/InternalRuntimeFlags.h"
120 #include "core/testing/InternalSettings.h" 120 #include "core/testing/InternalSettings.h"
121 #include "core/testing/LayerRect.h" 121 #include "core/testing/LayerRect.h"
122 #include "core/testing/LayerRectList.h" 122 #include "core/testing/LayerRectList.h"
123 #include "core/testing/MockHyphenation.h" 123 #include "core/testing/MockHyphenation.h"
124 #include "core/testing/OriginTrialsTest.h" 124 #include "core/testing/OriginTrialsTest.h"
125 #include "core/testing/RecordTest.h"
125 #include "core/testing/TypeConversions.h" 126 #include "core/testing/TypeConversions.h"
126 #include "core/testing/UnionTypesTest.h" 127 #include "core/testing/UnionTypesTest.h"
127 #include "core/workers/WorkerThread.h" 128 #include "core/workers/WorkerThread.h"
128 #include "gpu/command_buffer/client/gles2_interface.h" 129 #include "gpu/command_buffer/client/gles2_interface.h"
129 #include "platform/Cursor.h" 130 #include "platform/Cursor.h"
130 #include "platform/InstanceCounters.h" 131 #include "platform/InstanceCounters.h"
131 #include "platform/Language.h" 132 #include "platform/Language.h"
132 #include "platform/LayoutLocale.h" 133 #include "platform/LayoutLocale.h"
133 #include "platform/RuntimeEnabledFeatures.h" 134 #include "platform/RuntimeEnabledFeatures.h"
134 #include "platform/geometry/IntRect.h" 135 #include "platform/geometry/IntRect.h"
(...skipping 2185 matching lines...) Expand 10 before | Expand all | Expand 10 after
2320 } 2321 }
2321 2322
2322 TypeConversions* Internals::typeConversions() const { 2323 TypeConversions* Internals::typeConversions() const {
2323 return TypeConversions::create(); 2324 return TypeConversions::create();
2324 } 2325 }
2325 2326
2326 DictionaryTest* Internals::dictionaryTest() const { 2327 DictionaryTest* Internals::dictionaryTest() const {
2327 return DictionaryTest::create(); 2328 return DictionaryTest::create();
2328 } 2329 }
2329 2330
2331 RecordTest* Internals::recordTest() const {
2332 return RecordTest::create();
2333 }
2334
2330 UnionTypesTest* Internals::unionTypesTest() const { 2335 UnionTypesTest* Internals::unionTypesTest() const {
2331 return UnionTypesTest::create(); 2336 return UnionTypesTest::create();
2332 } 2337 }
2333 2338
2334 OriginTrialsTest* Internals::originTrialsTest() const { 2339 OriginTrialsTest* Internals::originTrialsTest() const {
2335 return OriginTrialsTest::create(); 2340 return OriginTrialsTest::create();
2336 } 2341 }
2337 2342
2338 CallbackFunctionTest* Internals::callbackFunctionTest() const { 2343 CallbackFunctionTest* Internals::callbackFunctionTest() const {
2339 return CallbackFunctionTest::create(); 2344 return CallbackFunctionTest::create();
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
3176 3181
3177 void Internals::crash() { 3182 void Internals::crash() {
3178 CHECK(false) << "Intentional crash"; 3183 CHECK(false) << "Intentional crash";
3179 } 3184 }
3180 3185
3181 void Internals::setIsLowEndDevice(bool isLowEndDevice) { 3186 void Internals::setIsLowEndDevice(bool isLowEndDevice) {
3182 MemoryCoordinator::setIsLowEndDeviceForTesting(isLowEndDevice); 3187 MemoryCoordinator::setIsLowEndDeviceForTesting(isLowEndDevice);
3183 } 3188 }
3184 3189
3185 } // namespace blink 3190 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698