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

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

Issue 2536993002: Remove support for the keygen tag (Closed)
Patch Set: Rebased Created 4 years 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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 void FrameLoaderClientImpl::didNotAllowScript() { 284 void FrameLoaderClientImpl::didNotAllowScript() {
285 if (m_webFrame->contentSettingsClient()) 285 if (m_webFrame->contentSettingsClient())
286 m_webFrame->contentSettingsClient()->didNotAllowScript(); 286 m_webFrame->contentSettingsClient()->didNotAllowScript();
287 } 287 }
288 288
289 void FrameLoaderClientImpl::didNotAllowPlugins() { 289 void FrameLoaderClientImpl::didNotAllowPlugins() {
290 if (m_webFrame->contentSettingsClient()) 290 if (m_webFrame->contentSettingsClient())
291 m_webFrame->contentSettingsClient()->didNotAllowPlugins(); 291 m_webFrame->contentSettingsClient()->didNotAllowPlugins();
292 } 292 }
293 293
294 void FrameLoaderClientImpl::didUseKeygen() {
295 if (m_webFrame->contentSettingsClient())
296 m_webFrame->contentSettingsClient()->didUseKeygen();
297 }
298
299 bool FrameLoaderClientImpl::hasWebView() const { 294 bool FrameLoaderClientImpl::hasWebView() const {
300 return m_webFrame->viewImpl(); 295 return m_webFrame->viewImpl();
301 } 296 }
302 297
303 bool FrameLoaderClientImpl::inShadowTree() const { 298 bool FrameLoaderClientImpl::inShadowTree() const {
304 return m_webFrame->inShadowTree(); 299 return m_webFrame->inShadowTree();
305 } 300 }
306 301
307 Frame* FrameLoaderClientImpl::opener() const { 302 Frame* FrameLoaderClientImpl::opener() const {
308 return toCoreFrame(m_webFrame->opener()); 303 return toCoreFrame(m_webFrame->opener());
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after
997 WebDevToolsAgentImpl* FrameLoaderClientImpl::devToolsAgent() { 992 WebDevToolsAgentImpl* FrameLoaderClientImpl::devToolsAgent() {
998 return WebLocalFrameImpl::fromFrame(m_webFrame->frame()->localFrameRoot()) 993 return WebLocalFrameImpl::fromFrame(m_webFrame->frame()->localFrameRoot())
999 ->devToolsAgentImpl(); 994 ->devToolsAgentImpl();
1000 } 995 }
1001 996
1002 KURL FrameLoaderClientImpl::overrideFlashEmbedWithHTML(const KURL& url) { 997 KURL FrameLoaderClientImpl::overrideFlashEmbedWithHTML(const KURL& url) {
1003 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url)); 998 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url));
1004 } 999 }
1005 1000
1006 } // namespace blink 1001 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.h ('k') | third_party/WebKit/public/platform/Platform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698