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

Side by Side Diff: third_party/WebKit/Source/core/frame/LocalFrameClient.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) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
3 * reserved. 3 * reserved.
4 * Copyright (C) 2012 Google Inc. All rights reserved. 4 * Copyright (C) 2012 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 #include "wtf/Forward.h" 56 #include "wtf/Forward.h"
57 #include "wtf/Vector.h" 57 #include "wtf/Vector.h"
58 58
59 namespace blink { 59 namespace blink {
60 60
61 class Document; 61 class Document;
62 class DocumentLoader; 62 class DocumentLoader;
63 struct FrameLoadRequest; 63 struct FrameLoadRequest;
64 class FrameViewBase; 64 class FrameViewBase;
65 class HTMLFormElement; 65 class HTMLFormElement;
66 class HTMLFrameElementBase;
67 class HTMLFrameOwnerElement; 66 class HTMLFrameOwnerElement;
68 class HTMLMediaElement; 67 class HTMLMediaElement;
69 class HTMLPlugInElement; 68 class HTMLPlugInElement;
70 class HistoryItem; 69 class HistoryItem;
71 class KURL; 70 class KURL;
72 class LocalFrame; 71 class LocalFrame;
73 class ResourceError; 72 class ResourceError;
74 class ResourceRequest; 73 class ResourceRequest;
75 class ResourceResponse; 74 class ResourceResponse;
76 class SecurityOrigin; 75 class SecurityOrigin;
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 275
277 // Called when a new Content Security Policy is added to the frame's document. 276 // Called when a new Content Security Policy is added to the frame's document.
278 // This can be triggered by handling of HTTP headers, handling of <meta> 277 // This can be triggered by handling of HTTP headers, handling of <meta>
279 // element, or by inheriting CSP from the parent (in case of about:blank). 278 // element, or by inheriting CSP from the parent (in case of about:blank).
280 virtual void didAddContentSecurityPolicy( 279 virtual void didAddContentSecurityPolicy(
281 const String& headerValue, 280 const String& headerValue,
282 ContentSecurityPolicyHeaderType, 281 ContentSecurityPolicyHeaderType,
283 ContentSecurityPolicyHeaderSource, 282 ContentSecurityPolicyHeaderSource,
284 const std::vector<WebContentSecurityPolicyPolicy>&) {} 283 const std::vector<WebContentSecurityPolicyPolicy>&) {}
285 284
286 virtual void didChangeFrameOwnerProperties(HTMLFrameElementBase*) {} 285 virtual void didChangeFrameOwnerProperties(HTMLFrameOwnerElement*) {}
287 286
288 virtual void dispatchWillStartUsingPeerConnectionHandler( 287 virtual void dispatchWillStartUsingPeerConnectionHandler(
289 WebRTCPeerConnectionHandler*) {} 288 WebRTCPeerConnectionHandler*) {}
290 289
291 virtual bool allowWebGL(bool enabledPerSettings) { 290 virtual bool allowWebGL(bool enabledPerSettings) {
292 return enabledPerSettings; 291 return enabledPerSettings;
293 } 292 }
294 293
295 // If an HTML document is being loaded, informs the embedder that the document 294 // If an HTML document is being loaded, informs the embedder that the document
296 // will have its <body> attached soon. 295 // will have its <body> attached soon.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } 336 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); }
338 337
339 virtual BlameContext* frameBlameContext() { return nullptr; } 338 virtual BlameContext* frameBlameContext() { return nullptr; }
340 339
341 virtual void setHasReceivedUserGesture() {} 340 virtual void setHasReceivedUserGesture() {}
342 }; 341 };
343 342
344 } // namespace blink 343 } // namespace blink
345 344
346 #endif // LocalFrameClient_h 345 #endif // LocalFrameClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698