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

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

Issue 2821473002: Service CreateNewWindow on the UI thread with a new mojo interface (Closed)
Patch Set: MakeShared goodness Created 3 years, 8 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 // 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 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 // WebFrameSerializerClient implementation: 678 // WebFrameSerializerClient implementation:
679 void DidSerializeDataForFrame( 679 void DidSerializeDataForFrame(
680 const blink::WebCString& data, 680 const blink::WebCString& data,
681 blink::WebFrameSerializerClient::FrameSerializationStatus status) 681 blink::WebFrameSerializerClient::FrameSerializationStatus status)
682 override; 682 override;
683 683
684 // Binds to the site engagement service in the browser. 684 // Binds to the site engagement service in the browser.
685 void BindEngagement(blink::mojom::EngagementClientAssociatedRequest request); 685 void BindEngagement(blink::mojom::EngagementClientAssociatedRequest request);
686 686
687 // Binds to the FrameHost in the browser. 687 // Binds to the FrameHost in the browser.
688 void BindFrame(mojom::FrameRequest request, mojom::FrameHostPtr frame_host); 688 void BindFrame(mojom::FrameRequest request,
689 mojom::FrameHostInterfaceBrokerPtr frame_host);
690
691 // Virtual so the test render frame can flush the interface.
692 virtual mojom::FrameHostAssociatedPtr GetFrameHost();
689 693
690 void BindFrameBindingsControl( 694 void BindFrameBindingsControl(
691 mojom::FrameBindingsControlAssociatedRequest request); 695 mojom::FrameBindingsControlAssociatedRequest request);
692 696
693 ManifestManager* manifest_manager(); 697 ManifestManager* manifest_manager();
694 698
695 // TODO(creis): Remove when the only caller, the HistoryController, is no 699 // TODO(creis): Remove when the only caller, the HistoryController, is no
696 // more. 700 // more.
697 void SetPendingNavigationParams( 701 void SetPendingNavigationParams(
698 std::unique_ptr<NavigationParams> navigation_params); 702 std::unique_ptr<NavigationParams> navigation_params);
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
1373 #endif 1377 #endif
1374 1378
1375 HostZoomLevels host_zoom_levels_; 1379 HostZoomLevels host_zoom_levels_;
1376 EngagementOriginAndLevel engagement_level_; 1380 EngagementOriginAndLevel engagement_level_;
1377 1381
1378 mojo::AssociatedBinding<blink::mojom::EngagementClient> engagement_binding_; 1382 mojo::AssociatedBinding<blink::mojom::EngagementClient> engagement_binding_;
1379 mojo::Binding<mojom::Frame> frame_binding_; 1383 mojo::Binding<mojom::Frame> frame_binding_;
1380 mojo::AssociatedBinding<mojom::HostZoom> host_zoom_binding_; 1384 mojo::AssociatedBinding<mojom::HostZoom> host_zoom_binding_;
1381 mojo::AssociatedBinding<mojom::FrameBindingsControl> 1385 mojo::AssociatedBinding<mojom::FrameBindingsControl>
1382 frame_bindings_control_binding_; 1386 frame_bindings_control_binding_;
1383 mojom::FrameHostPtr frame_host_; 1387 mojom::FrameHostInterfaceBrokerPtr frame_host_interface_broker_;
1384 1388
1385 // Indicates whether |didAccessInitialDocument| was called. 1389 // Indicates whether |didAccessInitialDocument| was called.
1386 bool has_accessed_initial_document_; 1390 bool has_accessed_initial_document_;
1387 1391
1388 AssociatedInterfaceRegistryImpl associated_interfaces_; 1392 AssociatedInterfaceRegistryImpl associated_interfaces_;
1389 std::unique_ptr<AssociatedInterfaceProviderImpl> 1393 std::unique_ptr<AssociatedInterfaceProviderImpl>
1390 remote_associated_interfaces_; 1394 remote_associated_interfaces_;
1391 1395
1392 // TODO(dcheng): Remove these members. 1396 // TODO(dcheng): Remove these members.
1393 bool committed_first_load_ = false; 1397 bool committed_first_load_ = false;
(...skipping 29 matching lines...) Expand all
1423 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_; 1427 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_;
1424 1428
1425 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1429 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1426 1430
1427 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1431 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1428 }; 1432 };
1429 1433
1430 } // namespace content 1434 } // namespace content
1431 1435
1432 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1436 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698