| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/plugin/webplugin_delegate_stub.h" | 5 #include "chrome/plugin/webplugin_delegate_stub.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/time.h" | |
| 9 #include "chrome/common/chrome_switches.h" | 8 #include "chrome/common/chrome_switches.h" |
| 10 #include "chrome/common/gfx/emf.h" | 9 #include "chrome/common/gfx/emf.h" |
| 11 #include "chrome/common/plugin_messages.h" | 10 #include "chrome/common/plugin_messages.h" |
| 12 #include "chrome/common/win_util.h" | 11 #include "chrome/common/win_util.h" |
| 13 #include "chrome/plugin/npobject_stub.h" | 12 #include "chrome/plugin/npobject_stub.h" |
| 14 #include "chrome/plugin/plugin_channel.h" | 13 #include "chrome/plugin/plugin_channel.h" |
| 15 #include "chrome/plugin/plugin_thread.h" | 14 #include "chrome/plugin/plugin_thread.h" |
| 16 #include "chrome/plugin/webplugin_proxy.h" | 15 #include "chrome/plugin/webplugin_proxy.h" |
| 17 #include "third_party/npapi/bindings/npapi.h" | 16 #include "third_party/npapi/bindings/npapi.h" |
| 18 #include "third_party/npapi/bindings/npruntime.h" | 17 #include "third_party/npapi/bindings/npruntime.h" |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 params.notify_data, | 333 params.notify_data, |
| 335 params.stream); | 334 params.stream); |
| 336 webplugin_->OnResourceCreated(params.resource_id, resource_client); | 335 webplugin_->OnResourceCreated(params.resource_id, resource_client); |
| 337 } | 336 } |
| 338 | 337 |
| 339 void WebPluginDelegateStub::OnURLRequestRouted(const std::string& url, | 338 void WebPluginDelegateStub::OnURLRequestRouted(const std::string& url, |
| 340 bool notify_needed, | 339 bool notify_needed, |
| 341 HANDLE notify_data) { | 340 HANDLE notify_data) { |
| 342 delegate_->URLRequestRouted(url, notify_needed, notify_data); | 341 delegate_->URLRequestRouted(url, notify_needed, notify_data); |
| 343 } | 342 } |
| OLD | NEW |