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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 2847983002: Use unique_ptr for Create{ServiceWorkerNetworkProvider,ApplicationCacheHost} (Closed)
Patch Set: addressed comments Created 3 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
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 493
494 // blink::WebFrameClient implementation: 494 // blink::WebFrameClient implementation:
495 blink::WebPlugin* CreatePlugin(blink::WebLocalFrame* frame, 495 blink::WebPlugin* CreatePlugin(blink::WebLocalFrame* frame,
496 const blink::WebPluginParams& params) override; 496 const blink::WebPluginParams& params) override;
497 blink::WebMediaPlayer* CreateMediaPlayer( 497 blink::WebMediaPlayer* CreateMediaPlayer(
498 const blink::WebMediaPlayerSource& source, 498 const blink::WebMediaPlayerSource& source,
499 blink::WebMediaPlayerClient* client, 499 blink::WebMediaPlayerClient* client,
500 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, 500 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client,
501 blink::WebContentDecryptionModule* initial_cdm, 501 blink::WebContentDecryptionModule* initial_cdm,
502 const blink::WebString& sink_id) override; 502 const blink::WebString& sink_id) override;
503 blink::WebApplicationCacheHost* CreateApplicationCacheHost( 503 std::unique_ptr<blink::WebApplicationCacheHost> CreateApplicationCacheHost(
504 blink::WebApplicationCacheHostClient* client) override; 504 blink::WebApplicationCacheHostClient* client) override;
505 blink::WebWorkerContentSettingsClientProxy* 505 blink::WebWorkerContentSettingsClientProxy*
506 CreateWorkerContentSettingsClientProxy() override; 506 CreateWorkerContentSettingsClientProxy() override;
507 std::unique_ptr<blink::WebWorkerFetchContext> CreateWorkerFetchContext() 507 std::unique_ptr<blink::WebWorkerFetchContext> CreateWorkerFetchContext()
508 override; 508 override;
509 blink::WebExternalPopupMenu* CreateExternalPopupMenu( 509 blink::WebExternalPopupMenu* CreateExternalPopupMenu(
510 const blink::WebPopupMenuInfo& popup_menu_info, 510 const blink::WebPopupMenuInfo& popup_menu_info,
511 blink::WebExternalPopupMenuClient* popup_menu_client) override; 511 blink::WebExternalPopupMenuClient* popup_menu_client) override;
512 blink::WebCookieJar* CookieJar() override; 512 blink::WebCookieJar* CookieJar() override;
513 blink::BlameContext* GetFrameBlameContext() override; 513 blink::BlameContext* GetFrameBlameContext() override;
514 blink::WebServiceWorkerProvider* CreateServiceWorkerProvider() override; 514 std::unique_ptr<blink::WebServiceWorkerProvider> CreateServiceWorkerProvider()
515 override;
515 void DidAccessInitialDocument() override; 516 void DidAccessInitialDocument() override;
516 blink::WebLocalFrame* CreateChildFrame( 517 blink::WebLocalFrame* CreateChildFrame(
517 blink::WebLocalFrame* parent, 518 blink::WebLocalFrame* parent,
518 blink::WebTreeScopeType scope, 519 blink::WebTreeScopeType scope,
519 const blink::WebString& name, 520 const blink::WebString& name,
520 const blink::WebString& fallback_name, 521 const blink::WebString& fallback_name,
521 blink::WebSandboxFlags sandbox_flags, 522 blink::WebSandboxFlags sandbox_flags,
522 const blink::WebParsedFeaturePolicy& container_policy, 523 const blink::WebParsedFeaturePolicy& container_policy,
523 const blink::WebFrameOwnerProperties& frame_owner_properties) override; 524 const blink::WebFrameOwnerProperties& frame_owner_properties) override;
524 void DidChangeOpener(blink::WebFrame* frame) override; 525 void DidChangeOpener(blink::WebFrame* frame) override;
(...skipping 913 matching lines...) Expand 10 before | Expand all | Expand 10 after
1438 interface_provider_bindings_; 1439 interface_provider_bindings_;
1439 1440
1440 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1441 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1441 1442
1442 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1443 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1443 }; 1444 };
1444 1445
1445 } // namespace content 1446 } // namespace content
1446 1447
1447 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1448 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698