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

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

Issue 2732093003: bindings: Add support for the record<K,V> WebIDL type. (Closed)
Patch Set: s/isolate->GetCurrentContext()/context/ 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 2224 matching lines...) Expand 10 before | Expand all | Expand 10 after
2359 } 2360 }
2360 2361
2361 TypeConversions* Internals::typeConversions() const { 2362 TypeConversions* Internals::typeConversions() const {
2362 return TypeConversions::create(); 2363 return TypeConversions::create();
2363 } 2364 }
2364 2365
2365 DictionaryTest* Internals::dictionaryTest() const { 2366 DictionaryTest* Internals::dictionaryTest() const {
2366 return DictionaryTest::create(); 2367 return DictionaryTest::create();
2367 } 2368 }
2368 2369
2370 RecordTest* Internals::recordTest() const {
2371 return RecordTest::create();
2372 }
2373
2369 UnionTypesTest* Internals::unionTypesTest() const { 2374 UnionTypesTest* Internals::unionTypesTest() const {
2370 return UnionTypesTest::create(); 2375 return UnionTypesTest::create();
2371 } 2376 }
2372 2377
2373 OriginTrialsTest* Internals::originTrialsTest() const { 2378 OriginTrialsTest* Internals::originTrialsTest() const {
2374 return OriginTrialsTest::create(); 2379 return OriginTrialsTest::create();
2375 } 2380 }
2376 2381
2377 CallbackFunctionTest* Internals::callbackFunctionTest() const { 2382 CallbackFunctionTest* Internals::callbackFunctionTest() const {
2378 return CallbackFunctionTest::create(); 2383 return CallbackFunctionTest::create();
(...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after
3217 3222
3218 void Internals::crash() { 3223 void Internals::crash() {
3219 CHECK(false) << "Intentional crash"; 3224 CHECK(false) << "Intentional crash";
3220 } 3225 }
3221 3226
3222 void Internals::setIsLowEndDevice(bool isLowEndDevice) { 3227 void Internals::setIsLowEndDevice(bool isLowEndDevice) {
3223 MemoryCoordinator::setIsLowEndDeviceForTesting(isLowEndDevice); 3228 MemoryCoordinator::setIsLowEndDeviceForTesting(isLowEndDevice);
3224 } 3229 }
3225 3230
3226 } // namespace blink 3231 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.h ('k') | third_party/WebKit/Source/core/testing/Internals.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698