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

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

Issue 2743053003: [Reland #1] Don't create layout objects for children of display-none iframes. (Closed)
Patch Set: Fix DOM object leaks. Diff this against Patch Set 10. 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 void didEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) override; 182 void didEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) override;
183 void didUpdateToUniqueOrigin() override; 183 void didUpdateToUniqueOrigin() override;
184 void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) override; 184 void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) override;
185 void didSetFeaturePolicyHeader( 185 void didSetFeaturePolicyHeader(
186 const WebParsedFeaturePolicy& parsedHeader) override; 186 const WebParsedFeaturePolicy& parsedHeader) override;
187 void didAddContentSecurityPolicy( 187 void didAddContentSecurityPolicy(
188 const String& headerValue, 188 const String& headerValue,
189 ContentSecurityPolicyHeaderType, 189 ContentSecurityPolicyHeaderType,
190 ContentSecurityPolicyHeaderSource, 190 ContentSecurityPolicyHeaderSource,
191 const std::vector<WebContentSecurityPolicyPolicy>&) override; 191 const std::vector<WebContentSecurityPolicyPolicy>&) override;
192 void didChangeFrameOwnerProperties(HTMLFrameElementBase*) override; 192 void didChangeFrameOwnerProperties(HTMLFrameOwnerElement*) override;
193 193
194 void dispatchWillStartUsingPeerConnectionHandler( 194 void dispatchWillStartUsingPeerConnectionHandler(
195 WebRTCPeerConnectionHandler*) override; 195 WebRTCPeerConnectionHandler*) override;
196 196
197 bool allowWebGL(bool enabledPerSettings) override; 197 bool allowWebGL(bool enabledPerSettings) override;
198 198
199 void dispatchWillInsertBody() override; 199 void dispatchWillInsertBody() override;
200 200
201 std::unique_ptr<WebServiceWorkerProvider> createServiceWorkerProvider() 201 std::unique_ptr<WebServiceWorkerProvider> createServiceWorkerProvider()
202 override; 202 override;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 237
238 DEFINE_TYPE_CASTS(LocalFrameClientImpl, 238 DEFINE_TYPE_CASTS(LocalFrameClientImpl,
239 LocalFrameClient, 239 LocalFrameClient,
240 client, 240 client,
241 client->isLocalFrameClientImpl(), 241 client->isLocalFrameClientImpl(),
242 client.isLocalFrameClientImpl()); 242 client.isLocalFrameClientImpl());
243 243
244 } // namespace blink 244 } // namespace blink
245 245
246 #endif 246 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698