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

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

Issue 2733823004: Remove old permission delegation prototype (Closed)
Patch Set: update webexposed layout tests Created 3 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
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 900 matching lines...) Expand 10 before | Expand all | Expand 10 after
911 if (!m_webFrame->client()) 911 if (!m_webFrame->client())
912 return; 912 return;
913 913
914 m_webFrame->client()->didChangeFrameOwnerProperties( 914 m_webFrame->client()->didChangeFrameOwnerProperties(
915 WebFrame::fromFrame(frameElement->contentFrame()), 915 WebFrame::fromFrame(frameElement->contentFrame()),
916 WebFrameOwnerProperties( 916 WebFrameOwnerProperties(
917 frameElement->browsingContextContainerName(), 917 frameElement->browsingContextContainerName(),
918 frameElement->scrollingMode(), frameElement->marginWidth(), 918 frameElement->scrollingMode(), frameElement->marginWidth(),
919 frameElement->marginHeight(), frameElement->allowFullscreen(), 919 frameElement->marginHeight(), frameElement->allowFullscreen(),
920 frameElement->allowPaymentRequest(), frameElement->csp(), 920 frameElement->allowPaymentRequest(), frameElement->csp(),
921 frameElement->delegatedPermissions(),
922 frameElement->allowedFeatures())); 921 frameElement->allowedFeatures()));
923 } 922 }
924 923
925 void LocalFrameClientImpl::dispatchWillStartUsingPeerConnectionHandler( 924 void LocalFrameClientImpl::dispatchWillStartUsingPeerConnectionHandler(
926 WebRTCPeerConnectionHandler* handler) { 925 WebRTCPeerConnectionHandler* handler) {
927 m_webFrame->client()->willStartUsingPeerConnectionHandler(handler); 926 m_webFrame->client()->willStartUsingPeerConnectionHandler(handler);
928 } 927 }
929 928
930 bool LocalFrameClientImpl::allowWebGL(bool enabledPerSettings) { 929 bool LocalFrameClientImpl::allowWebGL(bool enabledPerSettings) {
931 if (m_webFrame->client()) 930 if (m_webFrame->client())
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
1021 KURL LocalFrameClientImpl::overrideFlashEmbedWithHTML(const KURL& url) { 1020 KURL LocalFrameClientImpl::overrideFlashEmbedWithHTML(const KURL& url) {
1022 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url)); 1021 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url));
1023 } 1022 }
1024 1023
1025 void LocalFrameClientImpl::setHasReceivedUserGesture() { 1024 void LocalFrameClientImpl::setHasReceivedUserGesture() {
1026 if (m_webFrame->client()) 1025 if (m_webFrame->client())
1027 m_webFrame->client()->setHasReceivedUserGesture(); 1026 m_webFrame->client()->setHasReceivedUserGesture();
1028 } 1027 }
1029 1028
1030 } // namespace blink 1029 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLIFrameElementTest.cpp ('k') | third_party/WebKit/Source/web/RemoteFrameOwner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698