OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/renderer/webplugin_delegate_proxy.h" | 5 #include "chrome/renderer/webplugin_delegate_proxy.h" |
6 | 6 |
7 #if defined(TOOLKIT_USES_GTK) | 7 #if defined(TOOLKIT_USES_GTK) |
8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
9 #endif | 9 #endif |
10 | 10 |
11 #include <algorithm> | 11 #include <algorithm> |
12 | 12 |
13 #include "app/resource_bundle.h" | 13 #include "app/resource_bundle.h" |
14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
16 #include "base/file_util.h" | 16 #include "base/file_util.h" |
17 #include "base/logging.h" | 17 #include "base/logging.h" |
18 #include "base/ref_counted.h" | 18 #include "base/ref_counted.h" |
| 19 #include "base/string_split.h" |
19 #include "base/string_util.h" | 20 #include "base/string_util.h" |
20 #include "base/sys_info.h" | 21 #include "base/sys_info.h" |
21 #include "base/utf_string_conversions.h" | 22 #include "base/utf_string_conversions.h" |
22 #include "chrome/common/child_process_logging.h" | 23 #include "chrome/common/child_process_logging.h" |
23 #include "chrome/common/chrome_switches.h" | 24 #include "chrome/common/chrome_switches.h" |
24 #include "chrome/common/plugin_messages.h" | 25 #include "chrome/common/plugin_messages.h" |
25 #include "chrome/common/render_messages.h" | 26 #include "chrome/common/render_messages.h" |
26 #include "chrome/plugin/npobject_proxy.h" | 27 #include "chrome/plugin/npobject_proxy.h" |
27 #include "chrome/plugin/npobject_stub.h" | 28 #include "chrome/plugin/npobject_stub.h" |
28 #include "chrome/plugin/npobject_util.h" | 29 #include "chrome/plugin/npobject_util.h" |
(...skipping 1514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1543 if (index->mime_type == "application/x-vnd.moveplayer.qm" || | 1544 if (index->mime_type == "application/x-vnd.moveplayer.qm" || |
1544 index->mime_type == "application/x-vnd.moveplay2.qm" || | 1545 index->mime_type == "application/x-vnd.moveplay2.qm" || |
1545 index->mime_type == "application/x-vnd.movenetworks.qm" || | 1546 index->mime_type == "application/x-vnd.movenetworks.qm" || |
1546 index->mime_type == "application/x-vnd.mnplayer.qm") { | 1547 index->mime_type == "application/x-vnd.mnplayer.qm") { |
1547 return true; | 1548 return true; |
1548 } | 1549 } |
1549 } | 1550 } |
1550 return false; | 1551 return false; |
1551 } | 1552 } |
1552 #endif | 1553 #endif |
OLD | NEW |