OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 bool WebPluginContainerImpl::supportsPaginatedPrint() const | 321 bool WebPluginContainerImpl::supportsPaginatedPrint() const |
322 { | 322 { |
323 return m_webPlugin->supportsPaginatedPrint(); | 323 return m_webPlugin->supportsPaginatedPrint(); |
324 } | 324 } |
325 | 325 |
326 bool WebPluginContainerImpl::isPrintScalingDisabled() const | 326 bool WebPluginContainerImpl::isPrintScalingDisabled() const |
327 { | 327 { |
328 return m_webPlugin->isPrintScalingDisabled(); | 328 return m_webPlugin->isPrintScalingDisabled(); |
329 } | 329 } |
330 | 330 |
| 331 int WebPluginContainerImpl::getCopiesToPrint() const |
| 332 { |
| 333 return m_webPlugin->getCopiesToPrint(); |
| 334 } |
| 335 |
331 int WebPluginContainerImpl::printBegin(const WebPrintParams& printParams) const | 336 int WebPluginContainerImpl::printBegin(const WebPrintParams& printParams) const |
332 { | 337 { |
333 return m_webPlugin->printBegin(printParams); | 338 return m_webPlugin->printBegin(printParams); |
334 } | 339 } |
335 | 340 |
336 bool WebPluginContainerImpl::printPage(int pageNumber, | 341 bool WebPluginContainerImpl::printPage(int pageNumber, |
337 blink::GraphicsContext* gc) | 342 blink::GraphicsContext* gc) |
338 { | 343 { |
339 if (gc->paintingDisabled()) | 344 if (gc->paintingDisabled()) |
340 return true; | 345 return true; |
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
941 | 946 |
942 return clipRect; | 947 return clipRect; |
943 } | 948 } |
944 | 949 |
945 bool WebPluginContainerImpl::pluginShouldPersist() const | 950 bool WebPluginContainerImpl::pluginShouldPersist() const |
946 { | 951 { |
947 return m_webPlugin->shouldPersist(); | 952 return m_webPlugin->shouldPersist(); |
948 } | 953 } |
949 | 954 |
950 } // namespace blink | 955 } // namespace blink |
OLD | NEW |