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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 // Move the current selection to the provided window point/points. If the | 459 // Move the current selection to the provided window point/points. If the |
460 // current selection is editable, the new selection will be restricted to | 460 // current selection is editable, the new selection will be restricted to |
461 // the root editable element. | 461 // the root editable element. |
462 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent
) = 0; | 462 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent
) = 0; |
463 virtual void moveCaretSelection(const WebPoint&) = 0; | 463 virtual void moveCaretSelection(const WebPoint&) = 0; |
464 | 464 |
465 virtual bool setEditableSelectionOffsets(int start, int end) = 0; | 465 virtual bool setEditableSelectionOffsets(int start, int end) = 0; |
466 virtual bool setCompositionFromExistingText(int compositionStart, int compos
itionEnd, const WebVector<WebCompositionUnderline>& underlines) = 0; | 466 virtual bool setCompositionFromExistingText(int compositionStart, int compos
itionEnd, const WebVector<WebCompositionUnderline>& underlines) = 0; |
467 virtual void extendSelectionAndDelete(int before, int after) = 0; | 467 virtual void extendSelectionAndDelete(int before, int after) = 0; |
468 | 468 |
| 469 virtual void addStyleSheetByURL(const WebString& url) = 0; |
| 470 |
469 virtual void setCaretVisible(bool) = 0; | 471 virtual void setCaretVisible(bool) = 0; |
470 | 472 |
471 // Printing ------------------------------------------------------------ | 473 // Printing ------------------------------------------------------------ |
472 | 474 |
473 // Reformats the WebFrame for printing. WebPrintParams specifies the printab
le | 475 // Reformats the WebFrame for printing. WebPrintParams specifies the printab
le |
474 // content size, paper size, printable area size, printer DPI and print | 476 // content size, paper size, printable area size, printer DPI and print |
475 // scaling option. If constrainToNode node is specified, then only the given
node | 477 // scaling option. If constrainToNode node is specified, then only the given
node |
476 // is printed (for now only plugins are supported), instead of the entire fr
ame. | 478 // is printed (for now only plugins are supported), instead of the entire fr
ame. |
477 // Returns the number of pages that can be printed at the given | 479 // Returns the number of pages that can be printed at the given |
478 // page size. | 480 // page size. |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
682 WebFrame* m_firstChild; | 684 WebFrame* m_firstChild; |
683 WebFrame* m_lastChild; | 685 WebFrame* m_lastChild; |
684 | 686 |
685 WebFrame* m_opener; | 687 WebFrame* m_opener; |
686 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 688 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
687 }; | 689 }; |
688 | 690 |
689 } // namespace blink | 691 } // namespace blink |
690 | 692 |
691 #endif | 693 #endif |
OLD | NEW |