| 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_win.h" | 5 #include "chrome/default_plugin/plugin_impl_win.h" |
| 6 | 6 |
| 7 #include <shellapi.h> | 7 #include <shellapi.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 "base/utf_string_conversions.h" |
| 12 #include "chrome/default_plugin/plugin_main.h" | 13 #include "chrome/default_plugin/plugin_main.h" |
| 13 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
| 14 #include "grit/webkit_strings.h" | 15 #include "grit/webkit_strings.h" |
| 15 #include "unicode/locid.h" | 16 #include "unicode/locid.h" |
| 16 #include "webkit/glue/webkit_glue.h" | 17 #include "webkit/glue/webkit_glue.h" |
| 17 #include "webkit/glue/plugins/default_plugin_shared.h" | 18 #include "webkit/glue/plugins/default_plugin_shared.h" |
| 18 | 19 |
| 19 static const int TOOLTIP_MAX_WIDTH = 500; | 20 static const int TOOLTIP_MAX_WIDTH = 500; |
| 20 | 21 |
| 21 PluginInstallerImpl::PluginInstallerImpl(int16 mode) | 22 PluginInstallerImpl::PluginInstallerImpl(int16 mode) |
| (...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 637 return true; | 638 return true; |
| 638 } | 639 } |
| 639 | 640 |
| 640 void PluginInstallerImpl::NotifyPluginStatus(int status) { | 641 void PluginInstallerImpl::NotifyPluginStatus(int status) { |
| 641 default_plugin::g_browser->getvalue( | 642 default_plugin::g_browser->getvalue( |
| 642 instance_, | 643 instance_, |
| 643 static_cast<NPNVariable>( | 644 static_cast<NPNVariable>( |
| 644 default_plugin::kMissingPluginStatusStart + status), | 645 default_plugin::kMissingPluginStatusStart + status), |
| 645 NULL); | 646 NULL); |
| 646 } | 647 } |
| OLD | NEW |