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

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 687 matching lines...) Expand 10 before | Expand all | Expand 10 after
996 WebDevToolsAgentImpl* FrameLoaderClientImpl::devToolsAgent() { 991 WebDevToolsAgentImpl* FrameLoaderClientImpl::devToolsAgent() {
997 return WebLocalFrameImpl::fromFrame(m_webFrame->frame()->localFrameRoot()) 992 return WebLocalFrameImpl::fromFrame(m_webFrame->frame()->localFrameRoot())
998 ->devToolsAgentImpl(); 993 ->devToolsAgentImpl();
999 } 994 }
1000 995
1001 KURL FrameLoaderClientImpl::overrideFlashEmbedWithHTML(const KURL& url) { 996 KURL FrameLoaderClientImpl::overrideFlashEmbedWithHTML(const KURL& url) {
1002 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url)); 997 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url));
1003 } 998 }
1004 999
1005 } // namespace blink 1000 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698