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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 #include "core/rendering/RenderView.h" | 109 #include "core/rendering/RenderView.h" |
110 #include "core/rendering/compositing/CompositedLayerMapping.h" | 110 #include "core/rendering/compositing/CompositedLayerMapping.h" |
111 #include "core/rendering/compositing/RenderLayerCompositor.h" | 111 #include "core/rendering/compositing/RenderLayerCompositor.h" |
112 #include "core/testing/GCObservation.h" | 112 #include "core/testing/GCObservation.h" |
113 #include "core/testing/InternalProfilers.h" | 113 #include "core/testing/InternalProfilers.h" |
114 #include "core/testing/InternalSettings.h" | 114 #include "core/testing/InternalSettings.h" |
115 #include "core/testing/LayerRect.h" | 115 #include "core/testing/LayerRect.h" |
116 #include "core/testing/LayerRectList.h" | 116 #include "core/testing/LayerRectList.h" |
117 #include "core/testing/MallocStatistics.h" | 117 #include "core/testing/MallocStatistics.h" |
118 #include "core/testing/MockPagePopupDriver.h" | 118 #include "core/testing/MockPagePopupDriver.h" |
| 119 #include "core/testing/PrivateScriptTest.h" |
119 #include "core/testing/TypeConversions.h" | 120 #include "core/testing/TypeConversions.h" |
120 #include "core/workers/WorkerThread.h" | 121 #include "core/workers/WorkerThread.h" |
121 #include "platform/Cursor.h" | 122 #include "platform/Cursor.h" |
122 #include "platform/Language.h" | 123 #include "platform/Language.h" |
123 #include "platform/RuntimeEnabledFeatures.h" | 124 #include "platform/RuntimeEnabledFeatures.h" |
124 #include "platform/TraceEvent.h" | 125 #include "platform/TraceEvent.h" |
125 #include "platform/geometry/IntRect.h" | 126 #include "platform/geometry/IntRect.h" |
126 #include "platform/geometry/LayoutRect.h" | 127 #include "platform/geometry/LayoutRect.h" |
127 #include "platform/graphics/GraphicsLayer.h" | 128 #include "platform/graphics/GraphicsLayer.h" |
128 #include "platform/graphics/filters/FilterOperation.h" | 129 #include "platform/graphics/filters/FilterOperation.h" |
(...skipping 1812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1941 PassRefPtrWillBeRawPtr<MallocStatistics> Internals::mallocStatistics() const | 1942 PassRefPtrWillBeRawPtr<MallocStatistics> Internals::mallocStatistics() const |
1942 { | 1943 { |
1943 return MallocStatistics::create(); | 1944 return MallocStatistics::create(); |
1944 } | 1945 } |
1945 | 1946 |
1946 PassRefPtrWillBeRawPtr<TypeConversions> Internals::typeConversions() const | 1947 PassRefPtrWillBeRawPtr<TypeConversions> Internals::typeConversions() const |
1947 { | 1948 { |
1948 return TypeConversions::create(); | 1949 return TypeConversions::create(); |
1949 } | 1950 } |
1950 | 1951 |
| 1952 PrivateScriptTest* Internals::privateScriptTest() const |
| 1953 { |
| 1954 return PrivateScriptTest::create(); |
| 1955 } |
| 1956 |
1951 Vector<String> Internals::getReferencedFilePaths() const | 1957 Vector<String> Internals::getReferencedFilePaths() const |
1952 { | 1958 { |
1953 return frame()->loader().currentItem()->getReferencedFilePaths(); | 1959 return frame()->loader().currentItem()->getReferencedFilePaths(); |
1954 } | 1960 } |
1955 | 1961 |
1956 void Internals::startTrackingRepaints(Document* document, ExceptionState& except
ionState) | 1962 void Internals::startTrackingRepaints(Document* document, ExceptionState& except
ionState) |
1957 { | 1963 { |
1958 if (!document || !document->view()) { | 1964 if (!document || !document->view()) { |
1959 exceptionState.throwDOMException(InvalidAccessError, document ? "The doc
ument's view cannot be retrieved." : "The document provided is invalid."); | 1965 exceptionState.throwDOMException(InvalidAccessError, document ? "The doc
ument's view cannot be retrieved." : "The document provided is invalid."); |
1960 return; | 1966 return; |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2350 } | 2356 } |
2351 networkStateNotifier().setWebConnectionTypeForTest(webtype); | 2357 networkStateNotifier().setWebConnectionTypeForTest(webtype); |
2352 } | 2358 } |
2353 | 2359 |
2354 unsigned Internals::countHitRegions(CanvasRenderingContext2D* context) | 2360 unsigned Internals::countHitRegions(CanvasRenderingContext2D* context) |
2355 { | 2361 { |
2356 return context->hitRegionsCount(); | 2362 return context->hitRegionsCount(); |
2357 } | 2363 } |
2358 | 2364 |
2359 } // namespace WebCore | 2365 } // namespace WebCore |
OLD | NEW |