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 "webkit/default_plugin/plugin_impl_gtk.h" | 5 #include "chrome/default_plugin/plugin_impl_gtk.h" |
6 | 6 |
7 #include <gdk/gdkx.h> | 7 #include <gdk/gdkx.h> |
8 | 8 |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
11 #include "base/string_util.h" | 11 #include "base/string_util.h" |
| 12 #include "chrome/default_plugin/plugin_main.h" |
12 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
13 #include "grit/webkit_strings.h" | 14 #include "grit/webkit_strings.h" |
14 #include "unicode/locid.h" | 15 #include "unicode/locid.h" |
15 #include "webkit/default_plugin/default_plugin_shared.h" | |
16 #include "webkit/default_plugin/plugin_main.h" | |
17 #include "webkit/glue/webkit_glue.h" | 16 #include "webkit/glue/webkit_glue.h" |
| 17 #include "webkit/glue/plugins/default_plugin_shared.h" |
18 | 18 |
19 // TODO(thakis): Most methods in this class are stubbed out an need to be | 19 // TODO(thakis): Most methods in this class are stubbed out an need to be |
20 // implemented. | 20 // implemented. |
21 | 21 |
22 PluginInstallerImpl::PluginInstallerImpl(int16 mode) | 22 PluginInstallerImpl::PluginInstallerImpl(int16 mode) |
23 : container_(NULL) { | 23 : container_(NULL) { |
24 } | 24 } |
25 | 25 |
26 PluginInstallerImpl::~PluginInstallerImpl() { | 26 PluginInstallerImpl::~PluginInstallerImpl() { |
27 if (container_) | 27 if (container_) |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 void PluginInstallerImpl::ShowInstallDialog() { | 130 void PluginInstallerImpl::ShowInstallDialog() { |
131 } | 131 } |
132 | 132 |
133 void PluginInstallerImpl::NotifyPluginStatus(int status) { | 133 void PluginInstallerImpl::NotifyPluginStatus(int status) { |
134 default_plugin::g_browser->getvalue( | 134 default_plugin::g_browser->getvalue( |
135 instance_, | 135 instance_, |
136 static_cast<NPNVariable>( | 136 static_cast<NPNVariable>( |
137 default_plugin::kMissingPluginStatusStart + status), | 137 default_plugin::kMissingPluginStatusStart + status), |
138 NULL); | 138 NULL); |
139 } | 139 } |
OLD | NEW |