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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 #include "core/dom/shadow/ShadowRoot.h" | 61 #include "core/dom/shadow/ShadowRoot.h" |
62 #include "core/editing/Editor.h" | 62 #include "core/editing/Editor.h" |
63 #include "core/editing/PlainTextRange.h" | 63 #include "core/editing/PlainTextRange.h" |
64 #include "core/editing/SpellCheckRequester.h" | 64 #include "core/editing/SpellCheckRequester.h" |
65 #include "core/editing/SpellChecker.h" | 65 #include "core/editing/SpellChecker.h" |
66 #include "core/editing/SurroundingText.h" | 66 #include "core/editing/SurroundingText.h" |
67 #include "core/editing/TextIterator.h" | 67 #include "core/editing/TextIterator.h" |
68 #include "core/fetch/MemoryCache.h" | 68 #include "core/fetch/MemoryCache.h" |
69 #include "core/fetch/ResourceFetcher.h" | 69 #include "core/fetch/ResourceFetcher.h" |
70 #include "core/frame/DOMPoint.h" | 70 #include "core/frame/DOMPoint.h" |
71 #include "core/frame/DOMWindow.h" | 71 #include "core/frame/LocalDOMWindow.h" |
72 #include "core/frame/EventHandlerRegistry.h" | 72 #include "core/frame/EventHandlerRegistry.h" |
73 #include "core/frame/FrameView.h" | 73 #include "core/frame/FrameView.h" |
74 #include "core/frame/LocalFrame.h" | 74 #include "core/frame/LocalFrame.h" |
75 #include "core/frame/Settings.h" | 75 #include "core/frame/Settings.h" |
76 #include "core/html/HTMLContentElement.h" | 76 #include "core/html/HTMLContentElement.h" |
77 #include "core/html/HTMLIFrameElement.h" | 77 #include "core/html/HTMLIFrameElement.h" |
78 #include "core/html/HTMLInputElement.h" | 78 #include "core/html/HTMLInputElement.h" |
79 #include "core/html/HTMLMediaElement.h" | 79 #include "core/html/HTMLMediaElement.h" |
80 #include "core/html/HTMLSelectElement.h" | 80 #include "core/html/HTMLSelectElement.h" |
81 #include "core/html/HTMLTextAreaElement.h" | 81 #include "core/html/HTMLTextAreaElement.h" |
(...skipping 2296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2378 } else if (type == "none") { | 2378 } else if (type == "none") { |
2379 webtype = blink::ConnectionTypeNone; | 2379 webtype = blink::ConnectionTypeNone; |
2380 } else { | 2380 } else { |
2381 exceptionState.throwDOMException(NotFoundError, ExceptionMessages::faile
dToEnumerate("connection type", type)); | 2381 exceptionState.throwDOMException(NotFoundError, ExceptionMessages::faile
dToEnumerate("connection type", type)); |
2382 return; | 2382 return; |
2383 } | 2383 } |
2384 networkStateNotifier().setWebConnectionTypeForTest(webtype); | 2384 networkStateNotifier().setWebConnectionTypeForTest(webtype); |
2385 } | 2385 } |
2386 | 2386 |
2387 } // namespace WebCore | 2387 } // namespace WebCore |
OLD | NEW |