Chromium Code Reviews| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 78 class WebURL; | 78 class WebURL; |
| 79 class WebURLLoader; | 79 class WebURLLoader; |
| 80 class WebURLRequest; | 80 class WebURLRequest; |
| 81 class WebView; | 81 class WebView; |
| 82 struct WebConsoleMessage; | 82 struct WebConsoleMessage; |
| 83 struct WebFindOptions; | 83 struct WebFindOptions; |
| 84 struct WebFloatPoint; | 84 struct WebFloatPoint; |
| 85 struct WebFloatRect; | 85 struct WebFloatRect; |
| 86 struct WebPoint; | 86 struct WebPoint; |
| 87 struct WebPrintParams; | 87 struct WebPrintParams; |
| 88 struct WebPrintPresetOptions; | |
| 88 struct WebRect; | 89 struct WebRect; |
| 89 struct WebScriptSource; | 90 struct WebScriptSource; |
| 90 struct WebSize; | 91 struct WebSize; |
| 91 struct WebURLLoaderOptions; | 92 struct WebURLLoaderOptions; |
| 92 | 93 |
| 93 template <typename T> class WebVector; | 94 template <typename T> class WebVector; |
| 94 | 95 |
| 95 // Frames may be rendered in process ('local') or out of process ('remote'). | 96 // Frames may be rendered in process ('local') or out of process ('remote'). |
| 96 // A remote frame is always cross-site; a local frame may be either same-site or | 97 // A remote frame is always cross-site; a local frame may be either same-site or |
| 97 // cross-site. | 98 // cross-site. |
| (...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 496 virtual float printPage(int pageToPrint, WebCanvas*) = 0; | 497 virtual float printPage(int pageToPrint, WebCanvas*) = 0; |
| 497 | 498 |
| 498 // Reformats the WebFrame for screen display. | 499 // Reformats the WebFrame for screen display. |
| 499 virtual void printEnd() = 0; | 500 virtual void printEnd() = 0; |
| 500 | 501 |
| 501 // If the frame contains a full-frame plugin or the given node refers to a | 502 // If the frame contains a full-frame plugin or the given node refers to a |
| 502 // plugin whose content indicates that printed output should not be scaled, | 503 // plugin whose content indicates that printed output should not be scaled, |
| 503 // return true, otherwise return false. | 504 // return true, otherwise return false. |
| 504 virtual bool isPrintScalingDisabledForPlugin(const WebNode& = WebNode()) = 0 ; | 505 virtual bool isPrintScalingDisabledForPlugin(const WebNode& = WebNode()) = 0 ; |
| 505 | 506 |
| 506 // Returns the number of copies to be printed. | 507 // Returns true if print preset options are updated from pdf document. |
|
raymes
2014/09/29 05:24:14
Have a similar comment here. Also, don't mention P
Nikhil
2014/10/09 08:43:56
Done.
| |
| 507 virtual int getPrintCopiesForPlugin(const WebNode& = WebNode()) = 0; | 508 virtual bool getPrintPresetOptionsForPlugin(const WebNode&, WebPrintPresetOp tions*) = 0; |
| 508 | 509 |
| 509 // CSS3 Paged Media ---------------------------------------------------- | 510 // CSS3 Paged Media ---------------------------------------------------- |
| 510 | 511 |
| 511 // Returns true if page box (margin boxes and page borders) is visible. | 512 // Returns true if page box (margin boxes and page borders) is visible. |
| 512 virtual bool isPageBoxVisible(int pageIndex) = 0; | 513 virtual bool isPageBoxVisible(int pageIndex) = 0; |
| 513 | 514 |
| 514 // Returns true if the page style has custom size information. | 515 // Returns true if the page style has custom size information. |
| 515 virtual bool hasCustomPageSizeStyle(int pageIndex) = 0; | 516 virtual bool hasCustomPageSizeStyle(int pageIndex) = 0; |
| 516 | 517 |
| 517 // Returns the preferred page size and margins in pixels, assuming 96 | 518 // Returns the preferred page size and margins in pixels, assuming 96 |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 701 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 702 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
| 702 }; | 703 }; |
| 703 | 704 |
| 704 #if BLINK_IMPLEMENTATION | 705 #if BLINK_IMPLEMENTATION |
| 705 Frame* toCoreFrame(const WebFrame*); | 706 Frame* toCoreFrame(const WebFrame*); |
| 706 #endif | 707 #endif |
| 707 | 708 |
| 708 } // namespace blink | 709 } // namespace blink |
| 709 | 710 |
| 710 #endif | 711 #endif |
| OLD | NEW |