| 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_win.h" | 5 #include "webkit/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" |
| (...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 632 DCHECK(bold_font_ != NULL); | 632 DCHECK(bold_font_ != NULL); |
| 633 | 633 |
| 634 font_info.lfUnderline = TRUE; | 634 font_info.lfUnderline = TRUE; |
| 635 underline_font_ = CreateFontIndirect(&font_info); | 635 underline_font_ = CreateFontIndirect(&font_info); |
| 636 DCHECK(underline_font_ != NULL); | 636 DCHECK(underline_font_ != NULL); |
| 637 return true; | 637 return true; |
| 638 } | 638 } |
| 639 | 639 |
| 640 void PluginInstallerImpl::NotifyPluginStatus(int status) { | 640 void PluginInstallerImpl::NotifyPluginStatus(int status) { |
| 641 default_plugin::g_browser->getvalue( | 641 default_plugin::g_browser->getvalue( |
| 642 instance_, | 642 instance_, |
| 643 static_cast<NPNVariable>( | 643 static_cast<NPNVariable>( |
| 644 default_plugin::kMissingPluginStatusStart + status), | 644 default_plugin::kMissingPluginStatusStart + status), |
| 645 NULL); | 645 NULL); |
| 646 } | 646 } |
| OLD | NEW |