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

Side by Side Diff: Source/core/plugins/DOMPluginArray.cpp

Issue 55143009: Move MIMEType classes to Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase against ToT Created 7 years, 1 month 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
« no previous file with comments | « Source/core/plugins/DOMPlugin.cpp ('k') | Source/core/plugins/PluginData.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 * Copyright (C) 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2008 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public 6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details. 13 * Lesser General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU Lesser General Public 15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software 16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 U SA 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 U SA
18 */ 18 */
19 19
20 #include "config.h" 20 #include "config.h"
21 #include "core/plugins/DOMPluginArray.h" 21 #include "core/plugins/DOMPluginArray.h"
22 22
23 #include "core/frame/Frame.h" 23 #include "core/frame/Frame.h"
24 #include "core/page/Page.h" 24 #include "core/page/Page.h"
25 #include "core/plugins/DOMPlugin.h" 25 #include "core/plugins/DOMPlugin.h"
26 #include "core/plugins/PluginData.h" 26 #include "platform/plugins/PluginData.h"
27 #include "wtf/text/AtomicString.h" 27 #include "wtf/text/AtomicString.h"
28 28
29 namespace WebCore { 29 namespace WebCore {
30 30
31 DOMPluginArray::DOMPluginArray(Frame* frame) 31 DOMPluginArray::DOMPluginArray(Frame* frame)
32 : DOMWindowProperty(frame) 32 : DOMWindowProperty(frame)
33 { 33 {
34 ScriptWrappable::init(this); 34 ScriptWrappable::init(this);
35 } 35 }
36 36
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 { 92 {
93 if (!m_frame) 93 if (!m_frame)
94 return 0; 94 return 0;
95 Page* page = m_frame->page(); 95 Page* page = m_frame->page();
96 if (!page) 96 if (!page)
97 return 0; 97 return 0;
98 return page->pluginData(); 98 return page->pluginData();
99 } 99 }
100 100
101 } // namespace WebCore 101 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/plugins/DOMPlugin.cpp ('k') | Source/core/plugins/PluginData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698