| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 #include "core/testing/DictionaryTest.h" | 120 #include "core/testing/DictionaryTest.h" |
| 121 #include "core/testing/GCObservation.h" | 121 #include "core/testing/GCObservation.h" |
| 122 #include "core/testing/InternalRuntimeFlags.h" | 122 #include "core/testing/InternalRuntimeFlags.h" |
| 123 #include "core/testing/InternalSettings.h" | 123 #include "core/testing/InternalSettings.h" |
| 124 #include "core/testing/LayerRect.h" | 124 #include "core/testing/LayerRect.h" |
| 125 #include "core/testing/LayerRectList.h" | 125 #include "core/testing/LayerRectList.h" |
| 126 #include "core/testing/PluginPlaceholderOptions.h" | 126 #include "core/testing/PluginPlaceholderOptions.h" |
| 127 #include "core/testing/PrivateScriptTest.h" | 127 #include "core/testing/PrivateScriptTest.h" |
| 128 #include "core/testing/TypeConversions.h" | 128 #include "core/testing/TypeConversions.h" |
| 129 #include "core/testing/UnionTypesTest.h" | 129 #include "core/testing/UnionTypesTest.h" |
| 130 #include "core/workers/WorkerThread.h" | 130 #include "core/workers/WorkerScript.h" |
| 131 #include "platform/Cursor.h" | 131 #include "platform/Cursor.h" |
| 132 #include "platform/Language.h" | 132 #include "platform/Language.h" |
| 133 #include "platform/RuntimeEnabledFeatures.h" | 133 #include "platform/RuntimeEnabledFeatures.h" |
| 134 #include "platform/TraceEvent.h" | 134 #include "platform/TraceEvent.h" |
| 135 #include "platform/geometry/IntRect.h" | 135 #include "platform/geometry/IntRect.h" |
| 136 #include "platform/geometry/LayoutRect.h" | 136 #include "platform/geometry/LayoutRect.h" |
| 137 #include "platform/graphics/GraphicsLayer.h" | 137 #include "platform/graphics/GraphicsLayer.h" |
| 138 #include "platform/graphics/filters/FilterOperation.h" | 138 #include "platform/graphics/filters/FilterOperation.h" |
| 139 #include "platform/graphics/filters/FilterOperations.h" | 139 #include "platform/graphics/filters/FilterOperations.h" |
| 140 #include "platform/heap/Handle.h" | 140 #include "platform/heap/Handle.h" |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 return InternalSettings::from(*page); | 249 return InternalSettings::from(*page); |
| 250 } | 250 } |
| 251 | 251 |
| 252 InternalRuntimeFlags* Internals::runtimeFlags() const | 252 InternalRuntimeFlags* Internals::runtimeFlags() const |
| 253 { | 253 { |
| 254 return m_runtimeFlags.get(); | 254 return m_runtimeFlags.get(); |
| 255 } | 255 } |
| 256 | 256 |
| 257 unsigned Internals::workerThreadCount() const | 257 unsigned Internals::workerThreadCount() const |
| 258 { | 258 { |
| 259 return WorkerThread::workerThreadCount(); | 259 return WorkerScript::workerScriptCount(); |
| 260 } | 260 } |
| 261 | 261 |
| 262 String Internals::address(Node* node) | 262 String Internals::address(Node* node) |
| 263 { | 263 { |
| 264 char buf[32]; | 264 char buf[32]; |
| 265 sprintf(buf, "%p", node); | 265 sprintf(buf, "%p", node); |
| 266 | 266 |
| 267 return String(buf); | 267 return String(buf); |
| 268 } | 268 } |
| 269 | 269 |
| (...skipping 2096 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2366 | 2366 |
| 2367 ClientRectList* Internals::focusRingRects(Element* element) | 2367 ClientRectList* Internals::focusRingRects(Element* element) |
| 2368 { | 2368 { |
| 2369 Vector<LayoutRect> rects; | 2369 Vector<LayoutRect> rects; |
| 2370 if (element && element->layoutObject()) | 2370 if (element && element->layoutObject()) |
| 2371 element->layoutObject()->addFocusRingRects(rects, LayoutPoint()); | 2371 element->layoutObject()->addFocusRingRects(rects, LayoutPoint()); |
| 2372 return ClientRectList::create(rects); | 2372 return ClientRectList::create(rects); |
| 2373 } | 2373 } |
| 2374 | 2374 |
| 2375 } // namespace blink | 2375 } // namespace blink |
| OLD | NEW |