| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 #include "core/frame/EventHandlerRegistry.h" | 80 #include "core/frame/EventHandlerRegistry.h" |
| 81 #include "core/frame/FrameView.h" | 81 #include "core/frame/FrameView.h" |
| 82 #include "core/frame/LocalFrame.h" | 82 #include "core/frame/LocalFrame.h" |
| 83 #include "core/frame/Settings.h" | 83 #include "core/frame/Settings.h" |
| 84 #include "core/html/HTMLContentElement.h" | 84 #include "core/html/HTMLContentElement.h" |
| 85 #include "core/html/HTMLIFrameElement.h" | 85 #include "core/html/HTMLIFrameElement.h" |
| 86 #include "core/html/HTMLInputElement.h" | 86 #include "core/html/HTMLInputElement.h" |
| 87 #include "core/html/HTMLMediaElement.h" | 87 #include "core/html/HTMLMediaElement.h" |
| 88 #include "core/html/HTMLSelectElement.h" | 88 #include "core/html/HTMLSelectElement.h" |
| 89 #include "core/html/HTMLTextAreaElement.h" | 89 #include "core/html/HTMLTextAreaElement.h" |
| 90 #include "core/html/canvas/CanvasRenderingContext2D.h" |
| 90 #include "core/html/forms/FormController.h" | 91 #include "core/html/forms/FormController.h" |
| 91 #include "core/html/shadow/ShadowElementNames.h" | 92 #include "core/html/shadow/ShadowElementNames.h" |
| 92 #include "core/html/shadow/TextControlInnerElements.h" | 93 #include "core/html/shadow/TextControlInnerElements.h" |
| 93 #include "core/inspector/InspectorClient.h" | 94 #include "core/inspector/InspectorClient.h" |
| 94 #include "core/inspector/InspectorConsoleAgent.h" | 95 #include "core/inspector/InspectorConsoleAgent.h" |
| 95 #include "core/inspector/InspectorController.h" | 96 #include "core/inspector/InspectorController.h" |
| 96 #include "core/inspector/InspectorCounters.h" | 97 #include "core/inspector/InspectorCounters.h" |
| 97 #include "core/inspector/InspectorFrontendChannel.h" | 98 #include "core/inspector/InspectorFrontendChannel.h" |
| 98 #include "core/inspector/InspectorInstrumentation.h" | 99 #include "core/inspector/InspectorInstrumentation.h" |
| 99 #include "core/inspector/InspectorOverlay.h" | 100 #include "core/inspector/InspectorOverlay.h" |
| (...skipping 2267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2367 webtype = blink::ConnectionTypeOther; | 2368 webtype = blink::ConnectionTypeOther; |
| 2368 } else if (type == "none") { | 2369 } else if (type == "none") { |
| 2369 webtype = blink::ConnectionTypeNone; | 2370 webtype = blink::ConnectionTypeNone; |
| 2370 } else { | 2371 } else { |
| 2371 exceptionState.throwDOMException(NotFoundError, ExceptionMessages::faile
dToEnumerate("connection type", type)); | 2372 exceptionState.throwDOMException(NotFoundError, ExceptionMessages::faile
dToEnumerate("connection type", type)); |
| 2372 return; | 2373 return; |
| 2373 } | 2374 } |
| 2374 networkStateNotifier().setWebConnectionTypeForTest(webtype); | 2375 networkStateNotifier().setWebConnectionTypeForTest(webtype); |
| 2375 } | 2376 } |
| 2376 | 2377 |
| 2378 unsigned Internals::countHitRegions(CanvasRenderingContext2D* context) |
| 2379 { |
| 2380 return context->hitRegionsCount(); |
| 2381 } |
| 2382 |
| 2377 } // namespace WebCore | 2383 } // namespace WebCore |
| OLD | NEW |