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

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

Issue 2955573003: Set frame policy correctly in newly created renderer proxies (Closed)
Patch Set: Fix container policy replication bug in provisional frames Created 3 years, 5 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 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 337
338 static WebLocalFrameImpl* Create(WebTreeScopeType, 338 static WebLocalFrameImpl* Create(WebTreeScopeType,
339 WebFrameClient*, 339 WebFrameClient*,
340 blink::InterfaceProvider*, 340 blink::InterfaceProvider*,
341 blink::InterfaceRegistry*, 341 blink::InterfaceRegistry*,
342 WebFrame* opener); 342 WebFrame* opener);
343 static WebLocalFrameImpl* CreateProvisional(WebFrameClient*, 343 static WebLocalFrameImpl* CreateProvisional(WebFrameClient*,
344 blink::InterfaceProvider*, 344 blink::InterfaceProvider*,
345 blink::InterfaceRegistry*, 345 blink::InterfaceRegistry*,
346 WebRemoteFrame*, 346 WebRemoteFrame*,
347 WebSandboxFlags); 347 WebSandboxFlags,
348 WebParsedFeaturePolicy);
348 349
349 ~WebLocalFrameImpl() override; 350 ~WebLocalFrameImpl() override;
350 351
351 LocalFrame* CreateChildFrame(const AtomicString& name, 352 LocalFrame* CreateChildFrame(const AtomicString& name,
352 HTMLFrameOwnerElement*) override; 353 HTMLFrameOwnerElement*) override;
353 354
354 void DidChangeContentsSize(const IntSize&); 355 void DidChangeContentsSize(const IntSize&);
355 356
356 void CreateFrameView() override; 357 void CreateFrameView() override;
357 358
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 532
532 DEFINE_TYPE_CASTS(WebLocalFrameImpl, 533 DEFINE_TYPE_CASTS(WebLocalFrameImpl,
533 WebFrame, 534 WebFrame,
534 frame, 535 frame,
535 frame->IsWebLocalFrame(), 536 frame->IsWebLocalFrame(),
536 frame.IsWebLocalFrame()); 537 frame.IsWebLocalFrame());
537 538
538 } // namespace blink 539 } // namespace blink
539 540
540 #endif 541 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameTestHelpers.cpp ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698