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

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

Issue 2849043002: Send AndroidOverlay routing token from WMPI to AVDA. (Closed)
Patch Set: maybe fixed macos 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
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 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after
1139 bool final_status_update); 1139 bool final_status_update);
1140 1140
1141 void InitializeBlameContext(RenderFrameImpl* parent_frame); 1141 void InitializeBlameContext(RenderFrameImpl* parent_frame);
1142 1142
1143 // service_manager::mojom::InterfaceProvider: 1143 // service_manager::mojom::InterfaceProvider:
1144 void GetInterface(const std::string& interface_name, 1144 void GetInterface(const std::string& interface_name,
1145 mojo::ScopedMessagePipeHandle interface_pipe) override; 1145 mojo::ScopedMessagePipeHandle interface_pipe) override;
1146 1146
1147 // Send |callback| our AndroidOverlay routing token when it arrives. We may 1147 // Send |callback| our AndroidOverlay routing token when it arrives. We may
1148 // call |callback| before returning. 1148 // call |callback| before returning.
1149 void RequestOverlayRoutingToken(const media::RoutingTokenCallback& callback); 1149 void RequestOverlayRoutingToken(media::RoutingTokenCallback callback);
tguilbert 2017/05/08 23:10:28 Should this still be passed as a const ref?
liberato (no reviews please) 2017/05/09 16:55:37 const ref is now used when the desired behavior is
1150 1150
1151 // Ask the host to send our AndroidOverlay routing token to us. 1151 // Ask the host to send our AndroidOverlay routing token to us.
1152 void RequestOverlayRoutingTokenFromHost(); 1152 void RequestOverlayRoutingTokenFromHost();
1153 1153
1154 // Stores the WebLocalFrame we are associated with. This is null from the 1154 // Stores the WebLocalFrame we are associated with. This is null from the
1155 // constructor until BindToWebFrame is called, and it is null after 1155 // constructor until BindToWebFrame is called, and it is null after
1156 // frameDetached is called until destruction (which is asynchronous in the 1156 // frameDetached is called until destruction (which is asynchronous in the
1157 // case of the main frame, but not subframes). 1157 // case of the main frame, but not subframes).
1158 blink::WebLocalFrame* frame_; 1158 blink::WebLocalFrame* frame_;
1159 1159
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
1473 std::vector<media::RoutingTokenCallback> pending_routing_token_callbacks_; 1473 std::vector<media::RoutingTokenCallback> pending_routing_token_callbacks_;
1474 1474
1475 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1475 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1476 1476
1477 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1477 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1478 }; 1478 };
1479 1479
1480 } // namespace content 1480 } // namespace content
1481 1481
1482 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1482 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698