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

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

Issue 954793002: Make load events in iframe elements work with OOPIF (Chromium side). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 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/render_frame_proxy.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 9
10 #include "base/auto_reset.h" 10 #include "base/auto_reset.h"
(...skipping 2750 matching lines...) Expand 10 before | Expand all | Expand 10 after
2761 } 2761 }
2762 2762
2763 void RenderFrameImpl::didChangeThemeColor() { 2763 void RenderFrameImpl::didChangeThemeColor() {
2764 if (frame_->parent()) 2764 if (frame_->parent())
2765 return; 2765 return;
2766 2766
2767 Send(new FrameHostMsg_DidChangeThemeColor( 2767 Send(new FrameHostMsg_DidChangeThemeColor(
2768 routing_id_, frame_->document().themeColor())); 2768 routing_id_, frame_->document().themeColor()));
2769 } 2769 }
2770 2770
2771 void RenderFrameImpl::dispatchLoad() {
2772 Send(new FrameHostMsg_DispatchLoad(routing_id_));
2773 }
2774
2771 void RenderFrameImpl::requestNotificationPermission( 2775 void RenderFrameImpl::requestNotificationPermission(
2772 const blink::WebSecurityOrigin& origin, 2776 const blink::WebSecurityOrigin& origin,
2773 blink::WebNotificationPermissionCallback* callback) { 2777 blink::WebNotificationPermissionCallback* callback) {
2774 if (!notification_permission_dispatcher_) { 2778 if (!notification_permission_dispatcher_) {
2775 notification_permission_dispatcher_ = 2779 notification_permission_dispatcher_ =
2776 new NotificationPermissionDispatcher(this); 2780 new NotificationPermissionDispatcher(this);
2777 } 2781 }
2778 2782
2779 notification_permission_dispatcher_->RequestPermission(origin, callback); 2783 notification_permission_dispatcher_->RequestPermission(origin, callback);
2780 } 2784 }
(...skipping 1663 matching lines...) Expand 10 before | Expand all | Expand 10 after
4444 4448
4445 #if defined(ENABLE_BROWSER_CDMS) 4449 #if defined(ENABLE_BROWSER_CDMS)
4446 RendererCdmManager* RenderFrameImpl::GetCdmManager() { 4450 RendererCdmManager* RenderFrameImpl::GetCdmManager() {
4447 if (!cdm_manager_) 4451 if (!cdm_manager_)
4448 cdm_manager_ = new RendererCdmManager(this); 4452 cdm_manager_ = new RendererCdmManager(this);
4449 return cdm_manager_; 4453 return cdm_manager_;
4450 } 4454 }
4451 #endif // defined(ENABLE_BROWSER_CDMS) 4455 #endif // defined(ENABLE_BROWSER_CDMS)
4452 4456
4453 } // namespace content 4457 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.h ('k') | content/renderer/render_frame_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698