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/page/scrolling/ScrollState.h" | 117 #include "core/page/scrolling/ScrollState.h" |
118 #include "core/paint/PaintLayer.h" | 118 #include "core/paint/PaintLayer.h" |
119 #include "core/svg/SVGImageElement.h" | 119 #include "core/svg/SVGImageElement.h" |
| 120 #include "core/testing/CallbackFunctionTest.h" |
120 #include "core/testing/DictionaryTest.h" | 121 #include "core/testing/DictionaryTest.h" |
121 #include "core/testing/GCObservation.h" | 122 #include "core/testing/GCObservation.h" |
122 #include "core/testing/InternalRuntimeFlags.h" | 123 #include "core/testing/InternalRuntimeFlags.h" |
123 #include "core/testing/InternalSettings.h" | 124 #include "core/testing/InternalSettings.h" |
124 #include "core/testing/LayerRect.h" | 125 #include "core/testing/LayerRect.h" |
125 #include "core/testing/LayerRectList.h" | 126 #include "core/testing/LayerRectList.h" |
126 #include "core/testing/MockHyphenation.h" | 127 #include "core/testing/MockHyphenation.h" |
127 #include "core/testing/OriginTrialsTest.h" | 128 #include "core/testing/OriginTrialsTest.h" |
128 #include "core/testing/PrivateScriptTest.h" | 129 #include "core/testing/PrivateScriptTest.h" |
129 #include "core/testing/TypeConversions.h" | 130 #include "core/testing/TypeConversions.h" |
(...skipping 1881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2011 UnionTypesTest* Internals::unionTypesTest() const | 2012 UnionTypesTest* Internals::unionTypesTest() const |
2012 { | 2013 { |
2013 return UnionTypesTest::create(); | 2014 return UnionTypesTest::create(); |
2014 } | 2015 } |
2015 | 2016 |
2016 OriginTrialsTest* Internals::originTrialsTest() const | 2017 OriginTrialsTest* Internals::originTrialsTest() const |
2017 { | 2018 { |
2018 return OriginTrialsTest::create(); | 2019 return OriginTrialsTest::create(); |
2019 } | 2020 } |
2020 | 2021 |
| 2022 CallbackFunctionTest* Internals::callbackFunctionTest() const |
| 2023 { |
| 2024 return CallbackFunctionTest::create(); |
| 2025 } |
| 2026 |
2021 Vector<String> Internals::getReferencedFilePaths() const | 2027 Vector<String> Internals::getReferencedFilePaths() const |
2022 { | 2028 { |
2023 if (!frame()) | 2029 if (!frame()) |
2024 return Vector<String>(); | 2030 return Vector<String>(); |
2025 | 2031 |
2026 return frame()->loader().currentItem()->getReferencedFilePaths(); | 2032 return frame()->loader().currentItem()->getReferencedFilePaths(); |
2027 } | 2033 } |
2028 | 2034 |
2029 void Internals::startTrackingRepaints(Document* document, ExceptionState& except
ionState) | 2035 void Internals::startTrackingRepaints(Document* document, ExceptionState& except
ionState) |
2030 { | 2036 { |
(...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2687 | 2693 |
2688 return ClientRect::create(FloatRect(node->layoutObject()->visualRect())); | 2694 return ClientRect::create(FloatRect(node->layoutObject()->visualRect())); |
2689 } | 2695 } |
2690 | 2696 |
2691 void Internals::crash() | 2697 void Internals::crash() |
2692 { | 2698 { |
2693 CHECK(false) << "Intentional crash"; | 2699 CHECK(false) << "Intentional crash"; |
2694 } | 2700 } |
2695 | 2701 |
2696 } // namespace blink | 2702 } // namespace blink |
OLD | NEW |