| 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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/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/MockHyphenation.h" | 126 #include "core/testing/MockHyphenation.h" |
| 127 #include "core/testing/OriginTrialsTest.h" |
| 127 #include "core/testing/PrivateScriptTest.h" | 128 #include "core/testing/PrivateScriptTest.h" |
| 128 #include "core/testing/TypeConversions.h" | 129 #include "core/testing/TypeConversions.h" |
| 129 #include "core/testing/UnionTypesTest.h" | 130 #include "core/testing/UnionTypesTest.h" |
| 130 #include "core/workers/WorkerThread.h" | 131 #include "core/workers/WorkerThread.h" |
| 131 #include "gpu/command_buffer/client/gles2_interface.h" | 132 #include "gpu/command_buffer/client/gles2_interface.h" |
| 132 #include "platform/Cursor.h" | 133 #include "platform/Cursor.h" |
| 133 #include "platform/Language.h" | 134 #include "platform/Language.h" |
| 134 #include "platform/LayoutLocale.h" | 135 #include "platform/LayoutLocale.h" |
| 135 #include "platform/RuntimeEnabledFeatures.h" | 136 #include "platform/RuntimeEnabledFeatures.h" |
| 136 #include "platform/TraceEvent.h" | 137 #include "platform/TraceEvent.h" |
| (...skipping 1839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1976 DictionaryTest* Internals::dictionaryTest() const | 1977 DictionaryTest* Internals::dictionaryTest() const |
| 1977 { | 1978 { |
| 1978 return DictionaryTest::create(); | 1979 return DictionaryTest::create(); |
| 1979 } | 1980 } |
| 1980 | 1981 |
| 1981 UnionTypesTest* Internals::unionTypesTest() const | 1982 UnionTypesTest* Internals::unionTypesTest() const |
| 1982 { | 1983 { |
| 1983 return UnionTypesTest::create(); | 1984 return UnionTypesTest::create(); |
| 1984 } | 1985 } |
| 1985 | 1986 |
| 1987 OriginTrialsTest* Internals::originTrialsTest() const |
| 1988 { |
| 1989 return OriginTrialsTest::create(); |
| 1990 } |
| 1991 |
| 1986 Vector<String> Internals::getReferencedFilePaths() const | 1992 Vector<String> Internals::getReferencedFilePaths() const |
| 1987 { | 1993 { |
| 1988 if (!frame()) | 1994 if (!frame()) |
| 1989 return Vector<String>(); | 1995 return Vector<String>(); |
| 1990 | 1996 |
| 1991 return frame()->loader().currentItem()->getReferencedFilePaths(); | 1997 return frame()->loader().currentItem()->getReferencedFilePaths(); |
| 1992 } | 1998 } |
| 1993 | 1999 |
| 1994 void Internals::startTrackingRepaints(Document* document, ExceptionState& except
ionState) | 2000 void Internals::startTrackingRepaints(Document* document, ExceptionState& except
ionState) |
| 1995 { | 2001 { |
| (...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2652 | 2658 |
| 2653 return ClientRect::create(FloatRect(node->layoutObject()->visualRect())); | 2659 return ClientRect::create(FloatRect(node->layoutObject()->visualRect())); |
| 2654 } | 2660 } |
| 2655 | 2661 |
| 2656 void Internals::crash() | 2662 void Internals::crash() |
| 2657 { | 2663 { |
| 2658 CHECK(false) << "Intentional crash"; | 2664 CHECK(false) << "Intentional crash"; |
| 2659 } | 2665 } |
| 2660 | 2666 |
| 2661 } // namespace blink | 2667 } // namespace blink |
| OLD | NEW |