| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2014 Opera Software ASA. All rights reserved. | 3 * Copyright (C) 2014 Opera Software ASA. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 #include "public/platform/WebRect.h" | 78 #include "public/platform/WebRect.h" |
| 79 #include "public/platform/WebString.h" | 79 #include "public/platform/WebString.h" |
| 80 #include "public/platform/WebURL.h" | 80 #include "public/platform/WebURL.h" |
| 81 #include "public/platform/WebURLError.h" | 81 #include "public/platform/WebURLError.h" |
| 82 #include "public/platform/WebURLRequest.h" | 82 #include "public/platform/WebURLRequest.h" |
| 83 #include "public/platform/WebVector.h" | 83 #include "public/platform/WebVector.h" |
| 84 #include "public/web/WebElement.h" | 84 #include "public/web/WebElement.h" |
| 85 #include "public/web/WebInputEvent.h" | 85 #include "public/web/WebInputEvent.h" |
| 86 #include "public/web/WebPlugin.h" | 86 #include "public/web/WebPlugin.h" |
| 87 #include "public/web/WebPrintParams.h" | 87 #include "public/web/WebPrintParams.h" |
| 88 #include "public/web/WebPrintPresetOptions.h" |
| 88 #include "public/web/WebViewClient.h" | 89 #include "public/web/WebViewClient.h" |
| 89 #include "web/ChromeClientImpl.h" | 90 #include "web/ChromeClientImpl.h" |
| 90 #include "web/ScrollbarGroup.h" | 91 #include "web/ScrollbarGroup.h" |
| 91 #include "web/WebDataSourceImpl.h" | 92 #include "web/WebDataSourceImpl.h" |
| 92 #include "web/WebInputEventConversion.h" | 93 #include "web/WebInputEventConversion.h" |
| 93 #include "web/WebViewImpl.h" | 94 #include "web/WebViewImpl.h" |
| 94 #include "wtf/Assertions.h" | 95 #include "wtf/Assertions.h" |
| 95 | 96 |
| 96 namespace blink { | 97 namespace blink { |
| 97 | 98 |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 bool WebPluginContainerImpl::supportsPaginatedPrint() const | 316 bool WebPluginContainerImpl::supportsPaginatedPrint() const |
| 316 { | 317 { |
| 317 return m_webPlugin->supportsPaginatedPrint(); | 318 return m_webPlugin->supportsPaginatedPrint(); |
| 318 } | 319 } |
| 319 | 320 |
| 320 bool WebPluginContainerImpl::isPrintScalingDisabled() const | 321 bool WebPluginContainerImpl::isPrintScalingDisabled() const |
| 321 { | 322 { |
| 322 return m_webPlugin->isPrintScalingDisabled(); | 323 return m_webPlugin->isPrintScalingDisabled(); |
| 323 } | 324 } |
| 324 | 325 |
| 325 int WebPluginContainerImpl::getCopiesToPrint() const | 326 bool WebPluginContainerImpl::getPrintPresetOptionsFromDocument(WebPrintPresetOpt
ions* presetOptions) const |
| 326 { | 327 { |
| 327 return m_webPlugin->getCopiesToPrint(); | 328 return m_webPlugin->getPrintPresetOptionsFromDocument(presetOptions); |
| 328 } | 329 } |
| 329 | 330 |
| 330 int WebPluginContainerImpl::printBegin(const WebPrintParams& printParams) const | 331 int WebPluginContainerImpl::printBegin(const WebPrintParams& printParams) const |
| 331 { | 332 { |
| 332 return m_webPlugin->printBegin(printParams); | 333 return m_webPlugin->printBegin(printParams); |
| 333 } | 334 } |
| 334 | 335 |
| 335 bool WebPluginContainerImpl::printPage(int pageNumber, GraphicsContext* gc) | 336 bool WebPluginContainerImpl::printPage(int pageNumber, GraphicsContext* gc) |
| 336 { | 337 { |
| 337 gc->save(); | 338 gc->save(); |
| (...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 979 | 980 |
| 980 return clipRect; | 981 return clipRect; |
| 981 } | 982 } |
| 982 | 983 |
| 983 bool WebPluginContainerImpl::pluginShouldPersist() const | 984 bool WebPluginContainerImpl::pluginShouldPersist() const |
| 984 { | 985 { |
| 985 return m_webPlugin->shouldPersist(); | 986 return m_webPlugin->shouldPersist(); |
| 986 } | 987 } |
| 987 | 988 |
| 988 } // namespace blink | 989 } // namespace blink |
| OLD | NEW |