OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 28 matching lines...) Expand all Loading... |
39 #include "DOMWindow.h" | 39 #include "DOMWindow.h" |
40 #include "Document.h" | 40 #include "Document.h" |
41 #include "DocumentMarker.h" | 41 #include "DocumentMarker.h" |
42 #include "DocumentMarkerController.h" | 42 #include "DocumentMarkerController.h" |
43 #include "Element.h" | 43 #include "Element.h" |
44 #include "ElementShadow.h" | 44 #include "ElementShadow.h" |
45 #include "EventHandler.h" | 45 #include "EventHandler.h" |
46 #include "ExceptionCode.h" | 46 #include "ExceptionCode.h" |
47 #include "FormController.h" | 47 #include "FormController.h" |
48 #include "Frame.h" | 48 #include "Frame.h" |
| 49 #include "FrameLoader.h" |
49 #include "FrameView.h" | 50 #include "FrameView.h" |
50 #include "HTMLContentElement.h" | 51 #include "HTMLContentElement.h" |
51 #include "HTMLInputElement.h" | 52 #include "HTMLInputElement.h" |
52 #include "HTMLNames.h" | 53 #include "HTMLNames.h" |
53 #include "HTMLTextAreaElement.h" | 54 #include "HTMLTextAreaElement.h" |
54 #include "HistoryItem.h" | 55 #include "HistoryItem.h" |
55 #include "InspectorClient.h" | 56 #include "InspectorClient.h" |
56 #include "InspectorConsoleAgent.h" | 57 #include "InspectorConsoleAgent.h" |
57 #include "InspectorController.h" | 58 #include "InspectorController.h" |
58 #include "InspectorCounters.h" | 59 #include "InspectorCounters.h" |
(...skipping 1881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1940 bytes.append(static_cast<const uint8_t*>(buffer->data()), buffer->byteLength
()); | 1941 bytes.append(static_cast<const uint8_t*>(buffer->data()), buffer->byteLength
()); |
1941 return SerializedScriptValue::adopt(bytes); | 1942 return SerializedScriptValue::adopt(bytes); |
1942 #endif | 1943 #endif |
1943 } | 1944 } |
1944 | 1945 |
1945 void Internals::setUsesOverlayScrollbars(bool enabled) | 1946 void Internals::setUsesOverlayScrollbars(bool enabled) |
1946 { | 1947 { |
1947 WebCore::Settings::setUsesOverlayScrollbars(enabled); | 1948 WebCore::Settings::setUsesOverlayScrollbars(enabled); |
1948 } | 1949 } |
1949 | 1950 |
| 1951 void Internals::forceReload(bool endToEnd) |
| 1952 { |
| 1953 frame()->loader()->reload(endToEnd); |
| 1954 } |
| 1955 |
1950 #if ENABLE(ENCRYPTED_MEDIA_V2) | 1956 #if ENABLE(ENCRYPTED_MEDIA_V2) |
1951 void Internals::initializeMockCDM() | 1957 void Internals::initializeMockCDM() |
1952 { | 1958 { |
1953 CDM::registerCDMFactory(MockCDM::create, MockCDM::supportsKeySytem); | 1959 CDM::registerCDMFactory(MockCDM::create, MockCDM::supportsKeySytem); |
1954 } | 1960 } |
1955 #endif | 1961 #endif |
1956 | 1962 |
1957 } | 1963 } |
OLD | NEW |