| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/plugins/npapi/webplugin_impl.h" | 5 #include "webkit/plugins/npapi/webplugin_impl.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/memory/linked_ptr.h" | 9 #include "base/memory/linked_ptr.h" |
| 10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
| (...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 457 | 457 |
| 458 bool WebPluginImpl::isPlaceholder() { | 458 bool WebPluginImpl::isPlaceholder() { |
| 459 return false; | 459 return false; |
| 460 } | 460 } |
| 461 | 461 |
| 462 // ----------------------------------------------------------------------------- | 462 // ----------------------------------------------------------------------------- |
| 463 | 463 |
| 464 WebPluginImpl::WebPluginImpl( | 464 WebPluginImpl::WebPluginImpl( |
| 465 WebFrame* webframe, | 465 WebFrame* webframe, |
| 466 const WebPluginParams& params, | 466 const WebPluginParams& params, |
| 467 const FilePath& file_path, | 467 const base::FilePath& file_path, |
| 468 const base::WeakPtr<WebPluginPageDelegate>& page_delegate) | 468 const base::WeakPtr<WebPluginPageDelegate>& page_delegate) |
| 469 : windowless_(false), | 469 : windowless_(false), |
| 470 window_(gfx::kNullPluginWindow), | 470 window_(gfx::kNullPluginWindow), |
| 471 accepts_input_events_(false), | 471 accepts_input_events_(false), |
| 472 page_delegate_(page_delegate), | 472 page_delegate_(page_delegate), |
| 473 webframe_(webframe), | 473 webframe_(webframe), |
| 474 delegate_(NULL), | 474 delegate_(NULL), |
| 475 container_(NULL), | 475 container_(NULL), |
| 476 plugin_url_(params.url), | 476 plugin_url_(params.url), |
| 477 load_manually_(params.loadManually), | 477 load_manually_(params.loadManually), |
| (...skipping 890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1368 webframe_->setReferrerForRequest(*request, plugin_url_); | 1368 webframe_->setReferrerForRequest(*request, plugin_url_); |
| 1369 break; | 1369 break; |
| 1370 | 1370 |
| 1371 default: | 1371 default: |
| 1372 break; | 1372 break; |
| 1373 } | 1373 } |
| 1374 } | 1374 } |
| 1375 | 1375 |
| 1376 } // namespace npapi | 1376 } // namespace npapi |
| 1377 } // namespace webkit | 1377 } // namespace webkit |
| OLD | NEW |