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

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

Issue 249633002: Detect <link rel='manifest'> and notify embedder. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: error 500 Created 6 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 /* 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 788 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 return nullptr; 799 return nullptr;
800 return adoptPtr(m_webFrame->client()->createApplicationCacheHost(m_webFrame, client)); 800 return adoptPtr(m_webFrame->client()->createApplicationCacheHost(m_webFrame, client));
801 } 801 }
802 802
803 void FrameLoaderClientImpl::didStopAllLoaders() 803 void FrameLoaderClientImpl::didStopAllLoaders()
804 { 804 {
805 if (m_webFrame->client()) 805 if (m_webFrame->client())
806 m_webFrame->client()->didAbortLoading(m_webFrame); 806 m_webFrame->client()->didAbortLoading(m_webFrame);
807 } 807 }
808 808
809 void FrameLoaderClientImpl::dispatchDidChangeManifest()
810 {
811 if (m_webFrame->client())
812 m_webFrame->client()->didChangeManifest(m_webFrame);
abarth-chromium 2014/05/01 17:51:16 Why not pass the manifest URL along in this notifi
mlamouri (slow - plz ping) 2014/05/01 18:00:09 I tried to stay consistent with how icons update a
813 }
814
809 } // namespace blink 815 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698