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/glue/plugins/pepper_webplugin_impl.h" | 5 #include "webkit/glue/plugins/pepper_webplugin_impl.h" |
6 | 6 |
7 #include <cmath> | 7 #include <cmath> |
8 | 8 |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "third_party/ppapi/c/pp_var.h" | 10 #include "ppapi/c/pp_var.h" |
11 #include "third_party/WebKit/WebKit/chromium/public/WebPluginParams.h" | 11 #include "third_party/WebKit/WebKit/chromium/public/WebPluginParams.h" |
12 #include "third_party/WebKit/WebKit/chromium/public/WebPoint.h" | 12 #include "third_party/WebKit/WebKit/chromium/public/WebPoint.h" |
13 #include "third_party/WebKit/WebKit/chromium/public/WebRect.h" | 13 #include "third_party/WebKit/WebKit/chromium/public/WebRect.h" |
14 #include "third_party/WebKit/WebKit/chromium/public/WebView.h" | 14 #include "third_party/WebKit/WebKit/chromium/public/WebView.h" |
15 #include "webkit/glue/plugins/pepper_plugin_instance.h" | 15 #include "webkit/glue/plugins/pepper_plugin_instance.h" |
16 #include "webkit/glue/plugins/pepper_plugin_module.h" | 16 #include "webkit/glue/plugins/pepper_plugin_module.h" |
17 #include "webkit/glue/plugins/pepper_url_loader.h" | 17 #include "webkit/glue/plugins/pepper_url_loader.h" |
18 #include "webkit/glue/plugins/pepper_var.h" | 18 #include "webkit/glue/plugins/pepper_var.h" |
19 | 19 |
20 using WebKit::WebCanvas; | 20 using WebKit::WebCanvas; |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 bool WebPluginImpl::printPage(int page_number, | 213 bool WebPluginImpl::printPage(int page_number, |
214 WebKit::WebCanvas* canvas) { | 214 WebKit::WebCanvas* canvas) { |
215 return instance_->PrintPage(page_number, canvas); | 215 return instance_->PrintPage(page_number, canvas); |
216 } | 216 } |
217 | 217 |
218 void WebPluginImpl::printEnd() { | 218 void WebPluginImpl::printEnd() { |
219 return instance_->PrintEnd(); | 219 return instance_->PrintEnd(); |
220 } | 220 } |
221 | 221 |
222 } // namespace pepper | 222 } // namespace pepper |
OLD | NEW |