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

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

Issue 2248743003: [not for commit] try out fix with darin's cl. Base URL: https://chromium.googlesource.com/chromium/src.git@44_fix_copy_assign
Patch Set: Created 4 years, 4 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 | « content/renderer/render_frame_impl.h ('k') | content/renderer/renderer_blink_platform_impl.h » ('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 #include "content/renderer/render_frame_impl.h" 5 #include "content/renderer/render_frame_impl.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 #include "content/renderer/renderer_webapplicationcachehost_impl.h" 125 #include "content/renderer/renderer_webapplicationcachehost_impl.h"
126 #include "content/renderer/renderer_webcolorchooser_impl.h" 126 #include "content/renderer/renderer_webcolorchooser_impl.h"
127 #include "content/renderer/savable_resources.h" 127 #include "content/renderer/savable_resources.h"
128 #include "content/renderer/screen_orientation/screen_orientation_dispatcher.h" 128 #include "content/renderer/screen_orientation/screen_orientation_dispatcher.h"
129 #include "content/renderer/shared_worker_repository.h" 129 #include "content/renderer/shared_worker_repository.h"
130 #include "content/renderer/skia_benchmarking_extension.h" 130 #include "content/renderer/skia_benchmarking_extension.h"
131 #include "content/renderer/stats_collection_controller.h" 131 #include "content/renderer/stats_collection_controller.h"
132 #include "content/renderer/web_frame_utils.h" 132 #include "content/renderer/web_frame_utils.h"
133 #include "content/renderer/web_ui_extension.h" 133 #include "content/renderer/web_ui_extension.h"
134 #include "content/renderer/websharedworker_proxy.h" 134 #include "content/renderer/websharedworker_proxy.h"
135 #include "content/renderer/websockethandle_impl.h"
136 #include "crypto/sha2.h" 135 #include "crypto/sha2.h"
137 #include "gin/modules/module_registry.h" 136 #include "gin/modules/module_registry.h"
138 #include "media/audio/audio_output_device.h" 137 #include "media/audio/audio_output_device.h"
139 #include "media/base/audio_renderer_mixer_input.h" 138 #include "media/base/audio_renderer_mixer_input.h"
140 #include "media/base/cdm_factory.h" 139 #include "media/base/cdm_factory.h"
141 #include "media/base/decoder_factory.h" 140 #include "media/base/decoder_factory.h"
142 #include "media/base/media.h" 141 #include "media/base/media.h"
143 #include "media/base/media_log.h" 142 #include "media/base/media_log.h"
144 #include "media/base/media_switches.h" 143 #include "media/base/media_switches.h"
145 #include "media/blink/url_index.h" 144 #include "media/blink/url_index.h"
(...skipping 4159 matching lines...) Expand 10 before | Expand all | Expand 10 after
4305 presentation_dispatcher_ = new PresentationDispatcher(this); 4304 presentation_dispatcher_ = new PresentationDispatcher(this);
4306 return presentation_dispatcher_; 4305 return presentation_dispatcher_;
4307 } 4306 }
4308 4307
4309 blink::WebPushClient* RenderFrameImpl::pushClient() { 4308 blink::WebPushClient* RenderFrameImpl::pushClient() {
4310 if (!push_messaging_dispatcher_) 4309 if (!push_messaging_dispatcher_)
4311 push_messaging_dispatcher_ = new PushMessagingDispatcher(this); 4310 push_messaging_dispatcher_ = new PushMessagingDispatcher(this);
4312 return push_messaging_dispatcher_; 4311 return push_messaging_dispatcher_;
4313 } 4312 }
4314 4313
4315 void RenderFrameImpl::willOpenWebSocket(blink::WebSocketHandle* handle) {
4316 // Initialize the WebSocketHandle with our InterfaceProvider to provide the
4317 // WebSocket implementation with context about this frame. This is important
4318 // so that the browser can show UI associated with the WebSocket (e.g., for
4319 // certificate errors).
4320 static_cast<WebSocketHandleImpl*>(handle)->Initialize(
4321 blink_interface_provider_.get());
4322 }
4323
4324 void RenderFrameImpl::willStartUsingPeerConnectionHandler( 4314 void RenderFrameImpl::willStartUsingPeerConnectionHandler(
4325 blink::WebRTCPeerConnectionHandler* handler) { 4315 blink::WebRTCPeerConnectionHandler* handler) {
4326 #if defined(ENABLE_WEBRTC) 4316 #if defined(ENABLE_WEBRTC)
4327 static_cast<RTCPeerConnectionHandler*>(handler)->associateWithFrame(frame_); 4317 static_cast<RTCPeerConnectionHandler*>(handler)->associateWithFrame(frame_);
4328 #endif 4318 #endif
4329 } 4319 }
4330 4320
4331 blink::WebUserMediaClient* RenderFrameImpl::userMediaClient() { 4321 blink::WebUserMediaClient* RenderFrameImpl::userMediaClient() {
4332 if (!web_user_media_client_) 4322 if (!web_user_media_client_)
4333 InitializeUserMediaClient(); 4323 InitializeUserMediaClient();
(...skipping 2009 matching lines...) Expand 10 before | Expand all | Expand 10 after
6343 // event target. Potentially a Pepper plugin will receive the event. 6333 // event target. Potentially a Pepper plugin will receive the event.
6344 // In order to tell whether a plugin gets the last mouse event and which it 6334 // In order to tell whether a plugin gets the last mouse event and which it
6345 // is, we set |pepper_last_mouse_event_target_| to null here. If a plugin gets 6335 // is, we set |pepper_last_mouse_event_target_| to null here. If a plugin gets
6346 // the event, it will notify us via DidReceiveMouseEvent() and set itself as 6336 // the event, it will notify us via DidReceiveMouseEvent() and set itself as
6347 // |pepper_last_mouse_event_target_|. 6337 // |pepper_last_mouse_event_target_|.
6348 pepper_last_mouse_event_target_ = nullptr; 6338 pepper_last_mouse_event_target_ = nullptr;
6349 #endif 6339 #endif
6350 } 6340 }
6351 6341
6352 } // namespace content 6342 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.h ('k') | content/renderer/renderer_blink_platform_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698