| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-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 "webkit/default_plugin/plugin_impl_mac.h" | 5 #include "webkit/default_plugin/plugin_impl_mac.h" |
| 6 | 6 |
| 7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 [NSGraphicsContext restoreGraphicsState]; | 165 [NSGraphicsContext restoreGraphicsState]; |
| 166 return 1; | 166 return 1; |
| 167 } | 167 } |
| 168 | 168 |
| 169 | 169 |
| 170 void PluginInstallerImpl::ShowInstallDialog() { | 170 void PluginInstallerImpl::ShowInstallDialog() { |
| 171 } | 171 } |
| 172 | 172 |
| 173 void PluginInstallerImpl::NotifyPluginStatus(int status) { | 173 void PluginInstallerImpl::NotifyPluginStatus(int status) { |
| 174 default_plugin::g_browser->getvalue( | 174 default_plugin::g_browser->getvalue( |
| 175 instance_, | 175 instance_, |
| 176 static_cast<NPNVariable>( | 176 static_cast<NPNVariable>( |
| 177 default_plugin::kMissingPluginStatusStart + status), | 177 default_plugin::kMissingPluginStatusStart + status), |
| 178 NULL); | 178 NULL); |
| 179 } | 179 } |
| OLD | NEW |