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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 // commands. | 431 // commands. |
432 virtual bool executeCommand(const WebString&, const WebNode& = WebNode()) =
0; | 432 virtual bool executeCommand(const WebString&, const WebNode& = WebNode()) =
0; |
433 virtual bool executeCommand(const WebString&, const WebString& value) = 0; | 433 virtual bool executeCommand(const WebString&, const WebString& value) = 0; |
434 virtual bool isCommandEnabled(const WebString&) const = 0; | 434 virtual bool isCommandEnabled(const WebString&) const = 0; |
435 | 435 |
436 // Spell-checking support. | 436 // Spell-checking support. |
437 virtual void enableContinuousSpellChecking(bool) = 0; | 437 virtual void enableContinuousSpellChecking(bool) = 0; |
438 virtual bool isContinuousSpellCheckingEnabled() const = 0; | 438 virtual bool isContinuousSpellCheckingEnabled() const = 0; |
439 virtual void requestTextChecking(const WebElement&) = 0; | 439 virtual void requestTextChecking(const WebElement&) = 0; |
440 virtual void replaceMisspelledRange(const WebString&) = 0; | 440 virtual void replaceMisspelledRange(const WebString&) = 0; |
| 441 virtual void removeSpellingMarkers() = 0; |
441 | 442 |
442 // Selection ----------------------------------------------------------- | 443 // Selection ----------------------------------------------------------- |
443 | 444 |
444 virtual bool hasSelection() const = 0; | 445 virtual bool hasSelection() const = 0; |
445 | 446 |
446 virtual WebRange selectionRange() const = 0; | 447 virtual WebRange selectionRange() const = 0; |
447 | 448 |
448 virtual WebString selectionAsText() const = 0; | 449 virtual WebString selectionAsText() const = 0; |
449 virtual WebString selectionAsMarkup() const = 0; | 450 virtual WebString selectionAsMarkup() const = 0; |
450 | 451 |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 // text form. This is used only by layout tests. | 654 // text form. This is used only by layout tests. |
654 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0; | 655 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0; |
655 | 656 |
656 protected: | 657 protected: |
657 ~WebFrame() { } | 658 ~WebFrame() { } |
658 }; | 659 }; |
659 | 660 |
660 } // namespace WebKit | 661 } // namespace WebKit |
661 | 662 |
662 #endif | 663 #endif |
OLD | NEW |