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

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

Issue 1938753002: OOPIF: Replicate allowFullscreen flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
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 923 matching lines...) Expand 10 before | Expand all | Expand 10 after
934 if (!m_webFrame->client()) 934 if (!m_webFrame->client())
935 return; 935 return;
936 m_webFrame->client()->didChangeSandboxFlags(WebFrame::fromFrame(childFrame), static_cast<WebSandboxFlags>(flags)); 936 m_webFrame->client()->didChangeSandboxFlags(WebFrame::fromFrame(childFrame), static_cast<WebSandboxFlags>(flags));
937 } 937 }
938 938
939 void FrameLoaderClientImpl::didChangeFrameOwnerProperties(HTMLFrameElementBase* frameElement) 939 void FrameLoaderClientImpl::didChangeFrameOwnerProperties(HTMLFrameElementBase* frameElement)
940 { 940 {
941 if (!m_webFrame->client()) 941 if (!m_webFrame->client())
942 return; 942 return;
943 943
944 m_webFrame->client()->didChangeFrameOwnerProperties(WebFrame::fromFrame(fram eElement->contentFrame()), WebFrameOwnerProperties(frameElement->scrollingMode() , frameElement->marginWidth(), frameElement->marginHeight())); 944 m_webFrame->client()->didChangeFrameOwnerProperties(WebFrame::fromFrame(fram eElement->contentFrame()), WebFrameOwnerProperties(frameElement->scrollingMode() , frameElement->marginWidth(), frameElement->marginHeight(), frameElement->allow Fullscreen()));
945 } 945 }
946 946
947 void FrameLoaderClientImpl::dispatchWillOpenWebSocket(WebSocketHandle* handle) 947 void FrameLoaderClientImpl::dispatchWillOpenWebSocket(WebSocketHandle* handle)
948 { 948 {
949 m_webFrame->client()->willOpenWebSocket(handle); 949 m_webFrame->client()->willOpenWebSocket(handle);
950 } 950 }
951 951
952 void FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler(WebRTCPe erConnectionHandler* handler) 952 void FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler(WebRTCPe erConnectionHandler* handler)
953 { 953 {
954 m_webFrame->client()->willStartUsingPeerConnectionHandler(handler); 954 m_webFrame->client()->willStartUsingPeerConnectionHandler(handler);
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
1034 } 1034 }
1035 1035
1036 WebEffectiveConnectionType FrameLoaderClientImpl::getEffectiveConnectionType() 1036 WebEffectiveConnectionType FrameLoaderClientImpl::getEffectiveConnectionType()
1037 { 1037 {
1038 if (m_webFrame->client()) 1038 if (m_webFrame->client())
1039 return m_webFrame->client()->getEffectiveConnectionType(); 1039 return m_webFrame->client()->getEffectiveConnectionType();
1040 return WebEffectiveConnectionType::TypeUnknown; 1040 return WebEffectiveConnectionType::TypeUnknown;
1041 } 1041 }
1042 1042
1043 } // namespace blink 1043 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698