OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_util.h" | 19 #include "base/string_util.h" |
20 #include "base/sys_info.h" | 20 #include "base/sys_info.h" |
| 21 #include "base/utf_string_conversions.h" |
21 #include "chrome/common/child_process_logging.h" | 22 #include "chrome/common/child_process_logging.h" |
22 #include "chrome/common/chrome_switches.h" | 23 #include "chrome/common/chrome_switches.h" |
23 #include "chrome/common/plugin_messages.h" | 24 #include "chrome/common/plugin_messages.h" |
24 #include "chrome/common/render_messages.h" | 25 #include "chrome/common/render_messages.h" |
25 #include "chrome/plugin/npobject_proxy.h" | 26 #include "chrome/plugin/npobject_proxy.h" |
26 #include "chrome/plugin/npobject_stub.h" | 27 #include "chrome/plugin/npobject_stub.h" |
27 #include "chrome/plugin/npobject_util.h" | 28 #include "chrome/plugin/npobject_util.h" |
28 #include "chrome/renderer/command_buffer_proxy.h" | 29 #include "chrome/renderer/command_buffer_proxy.h" |
29 #include "chrome/renderer/plugin_channel_host.h" | 30 #include "chrome/renderer/plugin_channel_host.h" |
30 #include "chrome/renderer/render_thread.h" | 31 #include "chrome/renderer/render_thread.h" |
(...skipping 1525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1556 if (index->mime_type == "application/x-vnd.moveplayer.qm" || | 1557 if (index->mime_type == "application/x-vnd.moveplayer.qm" || |
1557 index->mime_type == "application/x-vnd.moveplay2.qm" || | 1558 index->mime_type == "application/x-vnd.moveplay2.qm" || |
1558 index->mime_type == "application/x-vnd.movenetworks.qm" || | 1559 index->mime_type == "application/x-vnd.movenetworks.qm" || |
1559 index->mime_type == "application/x-vnd.mnplayer.qm") { | 1560 index->mime_type == "application/x-vnd.mnplayer.qm") { |
1560 return true; | 1561 return true; |
1561 } | 1562 } |
1562 } | 1563 } |
1563 return false; | 1564 return false; |
1564 } | 1565 } |
1565 #endif | 1566 #endif |
OLD | NEW |