| OLD | NEW |
| 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 #include "core/loader/FrameLoader.h" | 110 #include "core/loader/FrameLoader.h" |
| 111 #include "core/loader/HistoryItem.h" | 111 #include "core/loader/HistoryItem.h" |
| 112 #include "core/page/ChromeClient.h" | 112 #include "core/page/ChromeClient.h" |
| 113 #include "core/page/FocusController.h" | 113 #include "core/page/FocusController.h" |
| 114 #include "core/page/NetworkStateNotifier.h" | 114 #include "core/page/NetworkStateNotifier.h" |
| 115 #include "core/page/Page.h" | 115 #include "core/page/Page.h" |
| 116 #include "core/page/PrintContext.h" | 116 #include "core/page/PrintContext.h" |
| 117 #include "core/paint/DeprecatedPaintLayer.h" | 117 #include "core/paint/DeprecatedPaintLayer.h" |
| 118 #include "core/plugins/testing/DictionaryPluginPlaceholder.h" | 118 #include "core/plugins/testing/DictionaryPluginPlaceholder.h" |
| 119 #include "core/plugins/testing/DocumentFragmentPluginPlaceholder.h" | 119 #include "core/plugins/testing/DocumentFragmentPluginPlaceholder.h" |
| 120 #include "core/streams/ReadableStream2.h" |
| 121 #include "core/streams/ReadableStreamController.h" |
| 122 #include "core/streams/UnderlyingSourceBase.h" |
| 120 #include "core/svg/SVGImageElement.h" | 123 #include "core/svg/SVGImageElement.h" |
| 121 #include "core/testing/DictionaryTest.h" | 124 #include "core/testing/DictionaryTest.h" |
| 122 #include "core/testing/GCObservation.h" | 125 #include "core/testing/GCObservation.h" |
| 123 #include "core/testing/InternalRuntimeFlags.h" | 126 #include "core/testing/InternalRuntimeFlags.h" |
| 124 #include "core/testing/InternalSettings.h" | 127 #include "core/testing/InternalSettings.h" |
| 125 #include "core/testing/LayerRect.h" | 128 #include "core/testing/LayerRect.h" |
| 126 #include "core/testing/LayerRectList.h" | 129 #include "core/testing/LayerRectList.h" |
| 127 #include "core/testing/PluginPlaceholderOptions.h" | 130 #include "core/testing/PluginPlaceholderOptions.h" |
| 128 #include "core/testing/PrivateScriptTest.h" | 131 #include "core/testing/PrivateScriptTest.h" |
| 132 #include "core/testing/ReadableStreamTestCase.h" |
| 129 #include "core/testing/TypeConversions.h" | 133 #include "core/testing/TypeConversions.h" |
| 130 #include "core/testing/UnionTypesTest.h" | 134 #include "core/testing/UnionTypesTest.h" |
| 131 #include "core/workers/WorkerThread.h" | 135 #include "core/workers/WorkerThread.h" |
| 132 #include "platform/Cursor.h" | 136 #include "platform/Cursor.h" |
| 133 #include "platform/Language.h" | 137 #include "platform/Language.h" |
| 134 #include "platform/PlatformKeyboardEvent.h" | 138 #include "platform/PlatformKeyboardEvent.h" |
| 135 #include "platform/RuntimeEnabledFeatures.h" | 139 #include "platform/RuntimeEnabledFeatures.h" |
| 136 #include "platform/TraceEvent.h" | 140 #include "platform/TraceEvent.h" |
| 137 #include "platform/geometry/IntRect.h" | 141 #include "platform/geometry/IntRect.h" |
| 138 #include "platform/geometry/LayoutRect.h" | 142 #include "platform/geometry/LayoutRect.h" |
| (...skipping 2305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2444 element->layoutObject()->addFocusRingRects(rects, LayoutPoint()); | 2448 element->layoutObject()->addFocusRingRects(rects, LayoutPoint()); |
| 2445 return ClientRectList::create(rects); | 2449 return ClientRectList::create(rects); |
| 2446 } | 2450 } |
| 2447 | 2451 |
| 2448 void Internals::setCapsLockState(bool enabled) | 2452 void Internals::setCapsLockState(bool enabled) |
| 2449 { | 2453 { |
| 2450 PlatformKeyboardEvent::setCurrentCapsLockState(enabled ? | 2454 PlatformKeyboardEvent::setCurrentCapsLockState(enabled ? |
| 2451 PlatformKeyboardEvent::OverrideCapsLockState::On : PlatformKeyboardEvent
::OverrideCapsLockState::Off); | 2455 PlatformKeyboardEvent::OverrideCapsLockState::On : PlatformKeyboardEvent
::OverrideCapsLockState::Off); |
| 2452 } | 2456 } |
| 2453 | 2457 |
| 2458 ReadableStreamTestCase* Internals::createReadableStreamTestCase(ScriptState* scr
iptState) |
| 2459 { |
| 2460 return new ReadableStreamTestCase(scriptState); |
| 2461 } |
| 2462 |
| 2454 } // namespace blink | 2463 } // namespace blink |
| OLD | NEW |