Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1420)

Side by Side Diff: Source/WebCore/testing/Internals.cpp

Issue 12568009: Merge 145735 "REGRESSION(r137607): Redirecting a post to a get then reloading triggers resubmit war… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/WebCore/testing/Internals.h ('k') | Source/WebCore/testing/Internals.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « Source/WebCore/testing/Internals.h ('k') | Source/WebCore/testing/Internals.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698