OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/ppapi/ppapi_webplugin_impl.h" | 5 #include "webkit/plugins/ppapi/ppapi_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 "googleurl/src/gurl.h" | 10 #include "googleurl/src/gurl.h" |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 } | 217 } |
218 | 218 |
219 void WebPluginImpl::selectFindResult(bool forward) { | 219 void WebPluginImpl::selectFindResult(bool forward) { |
220 instance_->SelectFindResult(forward); | 220 instance_->SelectFindResult(forward); |
221 } | 221 } |
222 | 222 |
223 void WebPluginImpl::stopFind() { | 223 void WebPluginImpl::stopFind() { |
224 instance_->StopFind(); | 224 instance_->StopFind(); |
225 } | 225 } |
226 | 226 |
| 227 void WebPluginImpl::willStartLiveResize() { |
| 228 instance_->WillStartLiveResize(); |
| 229 } |
| 230 |
| 231 void WebPluginImpl::willEndLiveResize() { |
| 232 instance_->WillEndLiveResize(); |
| 233 } |
| 234 |
227 bool WebPluginImpl::supportsPaginatedPrint() { | 235 bool WebPluginImpl::supportsPaginatedPrint() { |
228 return instance_->SupportsPrintInterface(); | 236 return instance_->SupportsPrintInterface(); |
229 } | 237 } |
230 | 238 |
231 int WebPluginImpl::printBegin(const WebKit::WebRect& printable_area, | 239 int WebPluginImpl::printBegin(const WebKit::WebRect& printable_area, |
232 int printer_dpi) { | 240 int printer_dpi) { |
233 return instance_->PrintBegin(printable_area, printer_dpi); | 241 return instance_->PrintBegin(printable_area, printer_dpi); |
234 } | 242 } |
235 | 243 |
236 bool WebPluginImpl::printPage(int page_number, | 244 bool WebPluginImpl::printPage(int page_number, |
237 WebKit::WebCanvas* canvas) { | 245 WebKit::WebCanvas* canvas) { |
238 return instance_->PrintPage(page_number, canvas); | 246 return instance_->PrintPage(page_number, canvas); |
239 } | 247 } |
240 | 248 |
241 void WebPluginImpl::printEnd() { | 249 void WebPluginImpl::printEnd() { |
242 return instance_->PrintEnd(); | 250 return instance_->PrintEnd(); |
243 } | 251 } |
244 | 252 |
245 } // namespace ppapi | 253 } // namespace ppapi |
246 } // namespace webkit | 254 } // namespace webkit |
OLD | NEW |