| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 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 are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 #include "WebPlugin.h" | 49 #include "WebPlugin.h" |
| 50 #include "WebPluginContainerImpl.h" | 50 #include "WebPluginContainerImpl.h" |
| 51 #include "WebPluginLoadObserver.h" | 51 #include "WebPluginLoadObserver.h" |
| 52 #include "WebPluginParams.h" | 52 #include "WebPluginParams.h" |
| 53 #include "WebSecurityOrigin.h" | 53 #include "WebSecurityOrigin.h" |
| 54 #include "WebViewClient.h" | 54 #include "WebViewClient.h" |
| 55 #include "WebViewImpl.h" | 55 #include "WebViewImpl.h" |
| 56 #include "bindings/v8/ScriptController.h" | 56 #include "bindings/v8/ScriptController.h" |
| 57 #include "core/dom/Document.h" | 57 #include "core/dom/Document.h" |
| 58 #include "core/dom/DocumentFullscreen.h" | 58 #include "core/dom/DocumentFullscreen.h" |
| 59 #include "core/dom/EventHandlerRegistry.h" |
| 59 #include "core/events/MessageEvent.h" | 60 #include "core/events/MessageEvent.h" |
| 60 #include "core/events/MouseEvent.h" | 61 #include "core/events/MouseEvent.h" |
| 61 #include "core/dom/WheelController.h" | |
| 62 #include "core/html/HTMLAppletElement.h" | 62 #include "core/html/HTMLAppletElement.h" |
| 63 #include "core/loader/DocumentLoader.h" | 63 #include "core/loader/DocumentLoader.h" |
| 64 #include "core/loader/FrameLoadRequest.h" | 64 #include "core/loader/FrameLoadRequest.h" |
| 65 #include "core/loader/FrameLoader.h" | 65 #include "core/loader/FrameLoader.h" |
| 66 #include "core/loader/HistoryItem.h" | 66 #include "core/loader/HistoryItem.h" |
| 67 #include "core/loader/ProgressTracker.h" | 67 #include "core/loader/ProgressTracker.h" |
| 68 #include "core/page/Chrome.h" | 68 #include "core/page/Chrome.h" |
| 69 #include "core/page/EventHandler.h" | 69 #include "core/page/EventHandler.h" |
| 70 #include "core/frame/FrameView.h" | 70 #include "core/frame/FrameView.h" |
| 71 #include "core/page/Page.h" | 71 #include "core/page/Page.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 FrameLoaderClientImpl::~FrameLoaderClientImpl() | 110 FrameLoaderClientImpl::~FrameLoaderClientImpl() |
| 111 { | 111 { |
| 112 } | 112 } |
| 113 | 113 |
| 114 void FrameLoaderClientImpl::dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*
world) | 114 void FrameLoaderClientImpl::dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*
world) |
| 115 { | 115 { |
| 116 if (m_webFrame->client()) { | 116 if (m_webFrame->client()) { |
| 117 m_webFrame->client()->didClearWindowObject(m_webFrame, world->worldId())
; | 117 m_webFrame->client()->didClearWindowObject(m_webFrame, world->worldId())
; |
| 118 Document* document = m_webFrame->frame()->document(); | 118 Document* document = m_webFrame->frame()->document(); |
| 119 if (document) { | 119 if (document) { |
| 120 WheelController::from(*document); | 120 EventHandlerRegistry::from(*document); |
| 121 if (RuntimeEnabledFeatures::deviceMotionEnabled()) | 121 if (RuntimeEnabledFeatures::deviceMotionEnabled()) |
| 122 DeviceMotionController::from(*document); | 122 DeviceMotionController::from(*document); |
| 123 if (RuntimeEnabledFeatures::deviceOrientationEnabled()) | 123 if (RuntimeEnabledFeatures::deviceOrientationEnabled()) |
| 124 DeviceOrientationController::from(*document); | 124 DeviceOrientationController::from(*document); |
| 125 if (RuntimeEnabledFeatures::screenOrientationEnabled()) | 125 if (RuntimeEnabledFeatures::screenOrientationEnabled()) |
| 126 ScreenOrientationController::from(*document); | 126 ScreenOrientationController::from(*document); |
| 127 if (RuntimeEnabledFeatures::gamepadEnabled()) | 127 if (RuntimeEnabledFeatures::gamepadEnabled()) |
| 128 NavigatorGamepad::from(*document); | 128 NavigatorGamepad::from(*document); |
| 129 } | 129 } |
| 130 } | 130 } |
| (...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 801 return adoptPtr(m_webFrame->client()->createApplicationCacheHost(m_webFrame,
client)); | 801 return adoptPtr(m_webFrame->client()->createApplicationCacheHost(m_webFrame,
client)); |
| 802 } | 802 } |
| 803 | 803 |
| 804 void FrameLoaderClientImpl::didStopAllLoaders() | 804 void FrameLoaderClientImpl::didStopAllLoaders() |
| 805 { | 805 { |
| 806 if (m_webFrame->client()) | 806 if (m_webFrame->client()) |
| 807 m_webFrame->client()->didAbortLoading(m_webFrame); | 807 m_webFrame->client()->didAbortLoading(m_webFrame); |
| 808 } | 808 } |
| 809 | 809 |
| 810 } // namespace blink | 810 } // namespace blink |
| OLD | NEW |