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

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

Issue 232053005: Implement navigator.sendBeacon() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adjust unrelated test expectation Created 6 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 /* 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 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 if (m_webFrame->client()) 549 if (m_webFrame->client())
550 m_webFrame->client()->didRunInsecureContent(m_webFrame, WebSecurityOrigi n(origin), insecureURL); 550 m_webFrame->client()->didRunInsecureContent(m_webFrame, WebSecurityOrigi n(origin), insecureURL);
551 } 551 }
552 552
553 void FrameLoaderClientImpl::didDetectXSS(const KURL& insecureURL, bool didBlockE ntirePage) 553 void FrameLoaderClientImpl::didDetectXSS(const KURL& insecureURL, bool didBlockE ntirePage)
554 { 554 {
555 if (m_webFrame->client()) 555 if (m_webFrame->client())
556 m_webFrame->client()->didDetectXSS(m_webFrame, insecureURL, didBlockEnti rePage); 556 m_webFrame->client()->didDetectXSS(m_webFrame, insecureURL, didBlockEnti rePage);
557 } 557 }
558 558
559 void FrameLoaderClientImpl::didDispatchPingLoader(const KURL& url) 559 void FrameLoaderClientImpl::didDispatchSimplexLoader(const KURL& url)
560 { 560 {
561 if (m_webFrame->client()) 561 if (m_webFrame->client())
562 m_webFrame->client()->didDispatchPingLoader(m_webFrame, url); 562 m_webFrame->client()->didDispatchPingLoader(m_webFrame, url);
563 } 563 }
564 564
565 void FrameLoaderClientImpl::selectorMatchChanged(const Vector<String>& addedSele ctors, const Vector<String>& removedSelectors) 565 void FrameLoaderClientImpl::selectorMatchChanged(const Vector<String>& addedSele ctors, const Vector<String>& removedSelectors)
566 { 566 {
567 if (WebFrameClient* client = m_webFrame->client()) 567 if (WebFrameClient* client = m_webFrame->client())
568 client->didMatchCSS(m_webFrame, WebVector<WebString>(addedSelectors), We bVector<WebString>(removedSelectors)); 568 client->didMatchCSS(m_webFrame, WebVector<WebString>(addedSelectors), We bVector<WebString>(removedSelectors));
569 } 569 }
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 return adoptPtr(m_webFrame->client()->createApplicationCacheHost(m_webFrame, client)); 798 return adoptPtr(m_webFrame->client()->createApplicationCacheHost(m_webFrame, client));
799 } 799 }
800 800
801 void FrameLoaderClientImpl::didStopAllLoaders() 801 void FrameLoaderClientImpl::didStopAllLoaders()
802 { 802 {
803 if (m_webFrame->client()) 803 if (m_webFrame->client())
804 m_webFrame->client()->didAbortLoading(m_webFrame); 804 m_webFrame->client()->didAbortLoading(m_webFrame);
805 } 805 }
806 806
807 } // namespace blink 807 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698