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::getNumCopies() const |
| 332 { |
| 333 return m_webPlugin->getNumCopies(); |
| 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 WebCore::GraphicsContext* gc) | 342 WebCore::GraphicsContext* gc) |
338 { | 343 { |
339 if (gc->paintingDisabled()) | 344 if (gc->paintingDisabled()) |
340 return true; | 345 return true; |
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
939 | 944 |
940 return clipRect; | 945 return clipRect; |
941 } | 946 } |
942 | 947 |
943 bool WebPluginContainerImpl::pluginShouldPersist() const | 948 bool WebPluginContainerImpl::pluginShouldPersist() const |
944 { | 949 { |
945 return m_webPlugin->shouldPersist(); | 950 return m_webPlugin->shouldPersist(); |
946 } | 951 } |
947 | 952 |
948 } // namespace blink | 953 } // namespace blink |
OLD | NEW |