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

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

Issue 2729543002: Rename platform/Widget to platform/FrameViewBase in web. (Closed)
Patch Set: 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 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 } 741 }
742 742
743 bool LocalFrameClientImpl::canCreatePluginWithoutRenderer( 743 bool LocalFrameClientImpl::canCreatePluginWithoutRenderer(
744 const String& mimeType) const { 744 const String& mimeType) const {
745 if (!m_webFrame->client()) 745 if (!m_webFrame->client())
746 return false; 746 return false;
747 747
748 return m_webFrame->client()->canCreatePluginWithoutRenderer(mimeType); 748 return m_webFrame->client()->canCreatePluginWithoutRenderer(mimeType);
749 } 749 }
750 750
751 Widget* LocalFrameClientImpl::createPlugin(HTMLPlugInElement* element, 751 FrameViewBase* LocalFrameClientImpl::createPlugin(
752 const KURL& url, 752 HTMLPlugInElement* element,
753 const Vector<String>& paramNames, 753 const KURL& url,
754 const Vector<String>& paramValues, 754 const Vector<String>& paramNames,
755 const String& mimeType, 755 const Vector<String>& paramValues,
756 bool loadManually, 756 const String& mimeType,
757 DetachedPluginPolicy policy) { 757 bool loadManually,
758 DetachedPluginPolicy policy) {
758 if (!m_webFrame->client()) 759 if (!m_webFrame->client())
759 return nullptr; 760 return nullptr;
760 761
761 WebPluginParams params; 762 WebPluginParams params;
762 params.url = url; 763 params.url = url;
763 params.mimeType = mimeType; 764 params.mimeType = mimeType;
764 params.attributeNames = paramNames; 765 params.attributeNames = paramNames;
765 params.attributeValues = paramValues; 766 params.attributeValues = paramValues;
766 params.loadManually = loadManually; 767 params.loadManually = loadManually;
767 768
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
1020 KURL LocalFrameClientImpl::overrideFlashEmbedWithHTML(const KURL& url) { 1021 KURL LocalFrameClientImpl::overrideFlashEmbedWithHTML(const KURL& url) {
1021 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url)); 1022 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url));
1022 } 1023 }
1023 1024
1024 void LocalFrameClientImpl::setHasReceivedUserGesture() { 1025 void LocalFrameClientImpl::setHasReceivedUserGesture() {
1025 if (m_webFrame->client()) 1026 if (m_webFrame->client())
1026 m_webFrame->client()->setHasReceivedUserGesture(); 1027 m_webFrame->client()->setHasReceivedUserGesture();
1027 } 1028 }
1028 1029
1029 } // namespace blink 1030 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/LocalFrameClientImpl.h ('k') | third_party/WebKit/Source/web/WebInputEventConversion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698