OLD | NEW |
1 // Copyright (c) 2010 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/default_plugin/plugin_impl_gtk.h" | 5 #include "chrome/default_plugin/plugin_impl_gtk.h" |
6 | 6 |
7 #include <X11/Xdefs.h> | 7 #include <X11/Xdefs.h> |
8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
9 | 9 |
10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
12 #include "base/string_util.h" | 12 #include "base/string_util.h" |
13 #include "chrome/common/chrome_plugin_messages.h" | 13 #include "chrome/common/chrome_plugin_messages.h" |
14 #include "chrome/default_plugin/plugin_main.h" | 14 #include "chrome/default_plugin/plugin_main.h" |
15 #include "content/common/child_thread.h" | 15 #include "content/common/child_thread.h" |
16 #include "content/common/content_constants.h" | 16 #include "content/public/common/content_constants.h" |
17 #include "googleurl/src/gurl.h" | 17 #include "googleurl/src/gurl.h" |
18 #include "grit/webkit_strings.h" | 18 #include "grit/webkit_strings.h" |
19 #include "unicode/locid.h" | 19 #include "unicode/locid.h" |
20 #include "webkit/plugins/npapi/default_plugin_shared.h" | 20 #include "webkit/plugins/npapi/default_plugin_shared.h" |
21 | 21 |
22 // TODO(thakis): Most methods in this class are stubbed out an need to be | 22 // TODO(thakis): Most methods in this class are stubbed out an need to be |
23 // implemented. | 23 // implemented. |
24 | 24 |
25 PluginInstallerImpl::PluginInstallerImpl(int16 mode) | 25 PluginInstallerImpl::PluginInstallerImpl(int16 mode) |
26 : instance_(NULL), | 26 : instance_(NULL), |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 } | 138 } |
139 | 139 |
140 void PluginInstallerImpl::NotifyPluginStatus(int status) { | 140 void PluginInstallerImpl::NotifyPluginStatus(int status) { |
141 ChildThread::current()->Send( | 141 ChildThread::current()->Send( |
142 new ChromePluginProcessHostMsg_MissingPluginStatus( | 142 new ChromePluginProcessHostMsg_MissingPluginStatus( |
143 status, | 143 status, |
144 renderer_process_id(), | 144 renderer_process_id(), |
145 render_view_id(), | 145 render_view_id(), |
146 0)); | 146 0)); |
147 } | 147 } |
OLD | NEW |