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

Side by Side Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp

Issue 1360223002: Remove some redundant frame parameters from WebFrameClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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.cc ('k') | third_party/WebKit/public/web/WebFrameClient.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 /* 1 /*
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after
619 619
620 void FrameLoaderClientImpl::didAccessInitialDocument() 620 void FrameLoaderClientImpl::didAccessInitialDocument()
621 { 621 {
622 if (m_webFrame->client()) 622 if (m_webFrame->client())
623 m_webFrame->client()->didAccessInitialDocument(m_webFrame); 623 m_webFrame->client()->didAccessInitialDocument(m_webFrame);
624 } 624 }
625 625
626 void FrameLoaderClientImpl::didDisplayInsecureContent() 626 void FrameLoaderClientImpl::didDisplayInsecureContent()
627 { 627 {
628 if (m_webFrame->client()) 628 if (m_webFrame->client())
629 m_webFrame->client()->didDisplayInsecureContent(m_webFrame); 629 m_webFrame->client()->didDisplayInsecureContent();
630 } 630 }
631 631
632 void FrameLoaderClientImpl::didRunInsecureContent(SecurityOrigin* origin, const KURL& insecureURL) 632 void FrameLoaderClientImpl::didRunInsecureContent(SecurityOrigin* origin, const KURL& insecureURL)
633 { 633 {
634 if (m_webFrame->client()) 634 if (m_webFrame->client())
635 m_webFrame->client()->didRunInsecureContent(m_webFrame, WebSecurityOrigi n(origin), insecureURL); 635 m_webFrame->client()->didRunInsecureContent(WebSecurityOrigin(origin), i nsecureURL);
636 } 636 }
637 637
638 void FrameLoaderClientImpl::didDetectXSS(const KURL& insecureURL, bool didBlockE ntirePage) 638 void FrameLoaderClientImpl::didDetectXSS(const KURL& insecureURL, bool didBlockE ntirePage)
639 { 639 {
640 if (m_webFrame->client()) 640 if (m_webFrame->client())
641 m_webFrame->client()->didDetectXSS(m_webFrame, insecureURL, didBlockEnti rePage); 641 m_webFrame->client()->didDetectXSS(insecureURL, didBlockEntirePage);
642 } 642 }
643 643
644 void FrameLoaderClientImpl::didDispatchPingLoader(const KURL& url) 644 void FrameLoaderClientImpl::didDispatchPingLoader(const KURL& url)
645 { 645 {
646 if (m_webFrame->client()) 646 if (m_webFrame->client())
647 m_webFrame->client()->didDispatchPingLoader(m_webFrame, url); 647 m_webFrame->client()->didDispatchPingLoader(m_webFrame, url);
648 } 648 }
649 649
650 void FrameLoaderClientImpl::didChangePerformanceTiming() 650 void FrameLoaderClientImpl::didChangePerformanceTiming()
651 { 651 {
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
943 943
944 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde nTerminationDisablerType type) 944 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde nTerminationDisablerType type)
945 { 945 {
946 if (m_webFrame->client()) { 946 if (m_webFrame->client()) {
947 m_webFrame->client()->suddenTerminationDisablerChanged( 947 m_webFrame->client()->suddenTerminationDisablerChanged(
948 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>( type)); 948 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>( type));
949 } 949 }
950 } 950 }
951 951
952 } // namespace blink 952 } // namespace blink
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | third_party/WebKit/public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698