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

Side by Side Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp

Issue 1918143007: Updated Blink WebVR interfaces to WebVR v1 spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webvr_mojo
Patch Set: Fixed layout test Created 4 years, 7 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 | « third_party/WebKit/Source/modules/vr/VRStageParameters.idl ('k') | no next file » | 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) 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 #include "modules/device_orientation/DeviceMotionController.h" 56 #include "modules/device_orientation/DeviceMotionController.h"
57 #include "modules/device_orientation/DeviceOrientationAbsoluteController.h" 57 #include "modules/device_orientation/DeviceOrientationAbsoluteController.h"
58 #include "modules/device_orientation/DeviceOrientationController.h" 58 #include "modules/device_orientation/DeviceOrientationController.h"
59 #include "modules/encryptedmedia/HTMLMediaElementEncryptedMedia.h" 59 #include "modules/encryptedmedia/HTMLMediaElementEncryptedMedia.h"
60 #include "modules/gamepad/NavigatorGamepad.h" 60 #include "modules/gamepad/NavigatorGamepad.h"
61 #include "modules/mediasession/HTMLMediaElementMediaSession.h" 61 #include "modules/mediasession/HTMLMediaElementMediaSession.h"
62 #include "modules/mediasession/MediaSession.h" 62 #include "modules/mediasession/MediaSession.h"
63 #include "modules/serviceworkers/NavigatorServiceWorker.h" 63 #include "modules/serviceworkers/NavigatorServiceWorker.h"
64 #include "modules/serviceworkers/ServiceWorkerLinkResource.h" 64 #include "modules/serviceworkers/ServiceWorkerLinkResource.h"
65 #include "modules/storage/DOMWindowStorageController.h" 65 #include "modules/storage/DOMWindowStorageController.h"
66 #include "modules/vr/NavigatorVRDevice.h" 66 #include "modules/vr/NavigatorVR.h"
67 #include "platform/Histogram.h" 67 #include "platform/Histogram.h"
68 #include "platform/MIMETypeRegistry.h" 68 #include "platform/MIMETypeRegistry.h"
69 #include "platform/RuntimeEnabledFeatures.h" 69 #include "platform/RuntimeEnabledFeatures.h"
70 #include "platform/UserGestureIndicator.h" 70 #include "platform/UserGestureIndicator.h"
71 #include "platform/exported/WrappedResourceRequest.h" 71 #include "platform/exported/WrappedResourceRequest.h"
72 #include "platform/exported/WrappedResourceResponse.h" 72 #include "platform/exported/WrappedResourceResponse.h"
73 #include "platform/fonts/GlyphPageTreeNode.h" 73 #include "platform/fonts/GlyphPageTreeNode.h"
74 #include "platform/network/HTTPParsers.h" 74 #include "platform/network/HTTPParsers.h"
75 #include "platform/plugins/PluginData.h" 75 #include "platform/plugins/PluginData.h"
76 #include "public/platform/Platform.h" 76 #include "public/platform/Platform.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 DeviceMotionController::from(*document); 160 DeviceMotionController::from(*document);
161 DeviceOrientationController::from(*document); 161 DeviceOrientationController::from(*document);
162 if (RuntimeEnabledFeatures::deviceOrientationAbsoluteEnabled()) 162 if (RuntimeEnabledFeatures::deviceOrientationAbsoluteEnabled())
163 DeviceOrientationAbsoluteController::from(*document); 163 DeviceOrientationAbsoluteController::from(*document);
164 if (RuntimeEnabledFeatures::deviceLightEnabled()) 164 if (RuntimeEnabledFeatures::deviceLightEnabled())
165 DeviceLightController::from(*document); 165 DeviceLightController::from(*document);
166 NavigatorGamepad::from(*document); 166 NavigatorGamepad::from(*document);
167 NavigatorServiceWorker::from(*document); 167 NavigatorServiceWorker::from(*document);
168 DOMWindowStorageController::from(*document); 168 DOMWindowStorageController::from(*document);
169 if (RuntimeEnabledFeatures::webVREnabled()) 169 if (RuntimeEnabledFeatures::webVREnabled())
170 NavigatorVRDevice::from(*document); 170 NavigatorVR::from(*document);
171 } 171 }
172 } 172 }
173 // FIXME: when extensions go out of process, this whole concept stops workin g. 173 // FIXME: when extensions go out of process, this whole concept stops workin g.
174 WebDevToolsFrontendImpl* devToolsFrontend = m_webFrame->top()->isWebLocalFra me() ? toWebLocalFrameImpl(m_webFrame->top())->devToolsFrontend() : nullptr; 174 WebDevToolsFrontendImpl* devToolsFrontend = m_webFrame->top()->isWebLocalFra me() ? toWebLocalFrameImpl(m_webFrame->top())->devToolsFrontend() : nullptr;
175 if (devToolsFrontend) 175 if (devToolsFrontend)
176 devToolsFrontend->didClearWindowObject(m_webFrame); 176 devToolsFrontend->didClearWindowObject(m_webFrame);
177 } 177 }
178 178
179 void FrameLoaderClientImpl::documentElementAvailable() 179 void FrameLoaderClientImpl::documentElementAvailable()
180 { 180 {
(...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 return nullptr; 1033 return nullptr;
1034 return m_webFrame->client()->frameBlameContext(); 1034 return m_webFrame->client()->frameBlameContext();
1035 } 1035 }
1036 1036
1037 LinkResource* FrameLoaderClientImpl::createServiceWorkerLinkResource(HTMLLinkEle ment* owner) 1037 LinkResource* FrameLoaderClientImpl::createServiceWorkerLinkResource(HTMLLinkEle ment* owner)
1038 { 1038 {
1039 return ServiceWorkerLinkResource::create(owner); 1039 return ServiceWorkerLinkResource::create(owner);
1040 } 1040 }
1041 1041
1042 } // namespace blink 1042 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/vr/VRStageParameters.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698