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

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

Issue 2714943004: Move unique name generation and tracking into //content. (Closed)
Patch Set: Rebase again. Created 3 years, 9 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 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 if (!m_webFrame->client()) 874 if (!m_webFrame->client())
875 return 0; 875 return 0;
876 return m_webFrame->client()->cookieJar(); 876 return m_webFrame->client()->cookieJar();
877 } 877 }
878 878
879 void LocalFrameClientImpl::frameFocused() const { 879 void LocalFrameClientImpl::frameFocused() const {
880 if (m_webFrame->client()) 880 if (m_webFrame->client())
881 m_webFrame->client()->frameFocused(); 881 m_webFrame->client()->frameFocused();
882 } 882 }
883 883
884 void LocalFrameClientImpl::didChangeName(const String& name, 884 void LocalFrameClientImpl::didChangeName(const String& name) {
885 const String& uniqueName) {
886 if (!m_webFrame->client()) 885 if (!m_webFrame->client())
887 return; 886 return;
888 m_webFrame->client()->didChangeName(name, uniqueName); 887 m_webFrame->client()->didChangeName(name);
889 } 888 }
890 889
891 void LocalFrameClientImpl::didEnforceInsecureRequestPolicy( 890 void LocalFrameClientImpl::didEnforceInsecureRequestPolicy(
892 WebInsecureRequestPolicy policy) { 891 WebInsecureRequestPolicy policy) {
893 if (!m_webFrame->client()) 892 if (!m_webFrame->client())
894 return; 893 return;
895 m_webFrame->client()->didEnforceInsecureRequestPolicy(policy); 894 m_webFrame->client()->didEnforceInsecureRequestPolicy(policy);
896 } 895 }
897 896
898 void LocalFrameClientImpl::didUpdateToUniqueOrigin() { 897 void LocalFrameClientImpl::didUpdateToUniqueOrigin() {
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
1030 KURL LocalFrameClientImpl::overrideFlashEmbedWithHTML(const KURL& url) { 1029 KURL LocalFrameClientImpl::overrideFlashEmbedWithHTML(const KURL& url) {
1031 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url)); 1030 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url));
1032 } 1031 }
1033 1032
1034 void LocalFrameClientImpl::setHasReceivedUserGesture() { 1033 void LocalFrameClientImpl::setHasReceivedUserGesture() {
1035 if (m_webFrame->client()) 1034 if (m_webFrame->client())
1036 m_webFrame->client()->setHasReceivedUserGesture(); 1035 m_webFrame->client()->setHasReceivedUserGesture();
1037 } 1036 }
1038 1037
1039 } // namespace blink 1038 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/LocalFrameClientImpl.h ('k') | third_party/WebKit/Source/web/WebFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698