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

Side by Side Diff: third_party/WebKit/Source/modules/plugins/DOMPlugin.cpp

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 years, 8 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) 2008 Nokia Corporation and/or its subsidiary(-ies) 2 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public 5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details. 12 * Lesser General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU Lesser General Public 14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software 15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17 * MA 02110-1301 USA 17 * MA 02110-1301 USA
18 */ 18 */
19 19
20 #include "modules/plugins/DOMPlugin.h" 20 #include "modules/plugins/DOMPlugin.h"
21 21
22 #include "platform/plugins/PluginData.h" 22 #include "platform/plugins/PluginData.h"
23 #include "wtf/text/AtomicString.h" 23 #include "platform/wtf/text/AtomicString.h"
24 24
25 namespace blink { 25 namespace blink {
26 26
27 DOMPlugin::DOMPlugin(PluginData* plugin_data, LocalFrame* frame, unsigned index) 27 DOMPlugin::DOMPlugin(PluginData* plugin_data, LocalFrame* frame, unsigned index)
28 : ContextClient(frame), plugin_data_(plugin_data), index_(index) {} 28 : ContextClient(frame), plugin_data_(plugin_data), index_(index) {}
29 29
30 DOMPlugin::~DOMPlugin() {} 30 DOMPlugin::~DOMPlugin() {}
31 31
32 DEFINE_TRACE(DOMPlugin) { 32 DEFINE_TRACE(DOMPlugin) {
33 ContextClient::Trace(visitor); 33 ContextClient::Trace(visitor);
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 DOMMimeType* DOMPlugin::namedItem(const AtomicString& property_name) { 66 DOMMimeType* DOMPlugin::namedItem(const AtomicString& property_name) {
67 const Vector<MimeClassInfo>& mimes = plugin_data_->Mimes(); 67 const Vector<MimeClassInfo>& mimes = plugin_data_->Mimes();
68 for (unsigned i = 0; i < mimes.size(); ++i) { 68 for (unsigned i = 0; i < mimes.size(); ++i) {
69 if (mimes[i].type == property_name) 69 if (mimes[i].type == property_name)
70 return DOMMimeType::Create(plugin_data_.Get(), GetFrame(), i); 70 return DOMMimeType::Create(plugin_data_.Get(), GetFrame(), i);
71 } 71 }
72 return nullptr; 72 return nullptr;
73 } 73 }
74 74
75 } // namespace blink 75 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/plugins/DOMPlugin.h ('k') | third_party/WebKit/Source/modules/plugins/DOMPluginArray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698