| 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 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 463 // Move the current selection to the provided window point/points. If the | 463 // Move the current selection to the provided window point/points. If the |
| 464 // current selection is editable, the new selection will be restricted to | 464 // current selection is editable, the new selection will be restricted to |
| 465 // the root editable element. | 465 // the root editable element. |
| 466 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent
) = 0; | 466 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent
) = 0; |
| 467 virtual void moveCaretSelection(const WebPoint&) = 0; | 467 virtual void moveCaretSelection(const WebPoint&) = 0; |
| 468 | 468 |
| 469 virtual bool setEditableSelectionOffsets(int start, int end) = 0; | 469 virtual bool setEditableSelectionOffsets(int start, int end) = 0; |
| 470 virtual bool setCompositionFromExistingText(int compositionStart, int compos
itionEnd, const WebVector<WebCompositionUnderline>& underlines) = 0; | 470 virtual bool setCompositionFromExistingText(int compositionStart, int compos
itionEnd, const WebVector<WebCompositionUnderline>& underlines) = 0; |
| 471 virtual void extendSelectionAndDelete(int before, int after) = 0; | 471 virtual void extendSelectionAndDelete(int before, int after) = 0; |
| 472 | 472 |
| 473 virtual void setCaretVisible(bool) = 0; |
| 474 |
| 475 // Navigation Transitions --------------------------------------------- |
| 476 |
| 473 virtual void addStyleSheetByURL(const WebString& url) = 0; | 477 virtual void addStyleSheetByURL(const WebString& url) = 0; |
| 474 | 478 |
| 475 virtual void setCaretVisible(bool) = 0; | |
| 476 | |
| 477 // Printing ------------------------------------------------------------ | 479 // Printing ------------------------------------------------------------ |
| 478 | 480 |
| 479 // Reformats the WebFrame for printing. WebPrintParams specifies the printab
le | 481 // Reformats the WebFrame for printing. WebPrintParams specifies the printab
le |
| 480 // content size, paper size, printable area size, printer DPI and print | 482 // content size, paper size, printable area size, printer DPI and print |
| 481 // scaling option. If constrainToNode node is specified, then only the given
node | 483 // scaling option. If constrainToNode node is specified, then only the given
node |
| 482 // is printed (for now only plugins are supported), instead of the entire fr
ame. | 484 // is printed (for now only plugins are supported), instead of the entire fr
ame. |
| 483 // Returns the number of pages that can be printed at the given | 485 // Returns the number of pages that can be printed at the given |
| 484 // page size. | 486 // page size. |
| 485 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode
= WebNode()) = 0; | 487 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode
= WebNode()) = 0; |
| 486 | 488 |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 692 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 694 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
| 693 }; | 695 }; |
| 694 | 696 |
| 695 #if BLINK_IMPLEMENTATION | 697 #if BLINK_IMPLEMENTATION |
| 696 WebCore::Frame* toWebCoreFrame(WebFrame*); | 698 WebCore::Frame* toWebCoreFrame(WebFrame*); |
| 697 #endif | 699 #endif |
| 698 | 700 |
| 699 } // namespace blink | 701 } // namespace blink |
| 700 | 702 |
| 701 #endif | 703 #endif |
| OLD | NEW |