| 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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 virtual bool firstRectForCharacterRange(unsigned location, unsigned length,
WebRect&) const = 0; | 412 virtual bool firstRectForCharacterRange(unsigned location, unsigned length,
WebRect&) const = 0; |
| 413 | 413 |
| 414 // Returns the index of a character in the Frame's text stream at the given | 414 // Returns the index of a character in the Frame's text stream at the given |
| 415 // point. The point is in the viewport coordinate space. Will return | 415 // point. The point is in the viewport coordinate space. Will return |
| 416 // WTF::notFound if the point is invalid. | 416 // WTF::notFound if the point is invalid. |
| 417 virtual size_t characterIndexForPoint(const WebPoint&) const = 0; | 417 virtual size_t characterIndexForPoint(const WebPoint&) const = 0; |
| 418 | 418 |
| 419 // Supports commands like Undo, Redo, Cut, Copy, Paste, SelectAll, | 419 // Supports commands like Undo, Redo, Cut, Copy, Paste, SelectAll, |
| 420 // Unselect, etc. See EditorCommand.cpp for the full list of supported | 420 // Unselect, etc. See EditorCommand.cpp for the full list of supported |
| 421 // commands. | 421 // commands. |
| 422 virtual bool executeCommand(const WebString&, const WebNode& = WebNode()) =
0; | 422 virtual bool executeCommand(const WebString&) = 0; |
| 423 virtual bool executeCommand(const WebString&, const WebString& value, const
WebNode& = WebNode()) = 0; | 423 virtual bool executeCommand(const WebString&, const WebString& value) = 0; |
| 424 virtual bool isCommandEnabled(const WebString&) const = 0; | 424 virtual bool isCommandEnabled(const WebString&) const = 0; |
| 425 | 425 |
| 426 // Spell-checking support. | 426 // Spell-checking support. |
| 427 virtual void enableContinuousSpellChecking(bool) = 0; | 427 virtual void enableContinuousSpellChecking(bool) = 0; |
| 428 virtual bool isContinuousSpellCheckingEnabled() const = 0; | 428 virtual bool isContinuousSpellCheckingEnabled() const = 0; |
| 429 virtual void requestTextChecking(const WebElement&) = 0; | 429 virtual void requestTextChecking(const WebElement&) = 0; |
| 430 virtual void removeSpellingMarkers() = 0; | 430 virtual void removeSpellingMarkers() = 0; |
| 431 | 431 |
| 432 // Selection ----------------------------------------------------------- | 432 // Selection ----------------------------------------------------------- |
| 433 | 433 |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 WebFrame* m_firstChild; | 598 WebFrame* m_firstChild; |
| 599 WebFrame* m_lastChild; | 599 WebFrame* m_lastChild; |
| 600 | 600 |
| 601 WebFrame* m_opener; | 601 WebFrame* m_opener; |
| 602 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 602 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
| 603 }; | 603 }; |
| 604 | 604 |
| 605 } // namespace blink | 605 } // namespace blink |
| 606 | 606 |
| 607 #endif | 607 #endif |
| OLD | NEW |