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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 #include "core/page/Page.h" | 102 #include "core/page/Page.h" |
103 #include "core/page/PagePopupController.h" | 103 #include "core/page/PagePopupController.h" |
104 #include "core/page/PrintContext.h" | 104 #include "core/page/PrintContext.h" |
105 #include "core/rendering/RenderLayer.h" | 105 #include "core/rendering/RenderLayer.h" |
106 #include "core/rendering/RenderMenuList.h" | 106 #include "core/rendering/RenderMenuList.h" |
107 #include "core/rendering/RenderObject.h" | 107 #include "core/rendering/RenderObject.h" |
108 #include "core/rendering/RenderTreeAsText.h" | 108 #include "core/rendering/RenderTreeAsText.h" |
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/DictionaryTest.h" |
112 #include "core/testing/GCObservation.h" | 113 #include "core/testing/GCObservation.h" |
113 #include "core/testing/InternalProfilers.h" | 114 #include "core/testing/InternalProfilers.h" |
114 #include "core/testing/InternalSettings.h" | 115 #include "core/testing/InternalSettings.h" |
115 #include "core/testing/LayerRect.h" | 116 #include "core/testing/LayerRect.h" |
116 #include "core/testing/LayerRectList.h" | 117 #include "core/testing/LayerRectList.h" |
117 #include "core/testing/MallocStatistics.h" | 118 #include "core/testing/MallocStatistics.h" |
118 #include "core/testing/MockPagePopupDriver.h" | 119 #include "core/testing/MockPagePopupDriver.h" |
119 #include "core/testing/PrivateScriptTest.h" | 120 #include "core/testing/PrivateScriptTest.h" |
120 #include "core/testing/TypeConversions.h" | 121 #include "core/testing/TypeConversions.h" |
121 #include "core/workers/WorkerThread.h" | 122 #include "core/workers/WorkerThread.h" |
(...skipping 1798 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1920 PassRefPtrWillBeRawPtr<TypeConversions> Internals::typeConversions() const | 1921 PassRefPtrWillBeRawPtr<TypeConversions> Internals::typeConversions() const |
1921 { | 1922 { |
1922 return TypeConversions::create(); | 1923 return TypeConversions::create(); |
1923 } | 1924 } |
1924 | 1925 |
1925 PrivateScriptTest* Internals::privateScriptTest() const | 1926 PrivateScriptTest* Internals::privateScriptTest() const |
1926 { | 1927 { |
1927 return PrivateScriptTest::create(frame()); | 1928 return PrivateScriptTest::create(frame()); |
1928 } | 1929 } |
1929 | 1930 |
| 1931 DictionaryTest* Internals::dictionaryTest() const |
| 1932 { |
| 1933 return DictionaryTest::create(); |
| 1934 } |
| 1935 |
1930 Vector<String> Internals::getReferencedFilePaths() const | 1936 Vector<String> Internals::getReferencedFilePaths() const |
1931 { | 1937 { |
1932 return frame()->loader().currentItem()->getReferencedFilePaths(); | 1938 return frame()->loader().currentItem()->getReferencedFilePaths(); |
1933 } | 1939 } |
1934 | 1940 |
1935 void Internals::startTrackingRepaints(Document* document, ExceptionState& except
ionState) | 1941 void Internals::startTrackingRepaints(Document* document, ExceptionState& except
ionState) |
1936 { | 1942 { |
1937 if (!document || !document->view()) { | 1943 if (!document || !document->view()) { |
1938 exceptionState.throwDOMException(InvalidAccessError, document ? "The doc
ument's view cannot be retrieved." : "The document provided is invalid."); | 1944 exceptionState.throwDOMException(InvalidAccessError, document ? "The doc
ument's view cannot be retrieved." : "The document provided is invalid."); |
1939 return; | 1945 return; |
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2371 | 2377 |
2372 StringBuilder markup; | 2378 StringBuilder markup; |
2373 Vector<Document::TransitionElementData>::iterator iter = elementData.begin()
; | 2379 Vector<Document::TransitionElementData>::iterator iter = elementData.begin()
; |
2374 for (; iter != elementData.end(); ++iter) | 2380 for (; iter != elementData.end(); ++iter) |
2375 markup.append(iter->markup); | 2381 markup.append(iter->markup); |
2376 | 2382 |
2377 return markup.toString(); | 2383 return markup.toString(); |
2378 } | 2384 } |
2379 | 2385 |
2380 } // namespace blink | 2386 } // namespace blink |
OLD | NEW |