| 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 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 | 403 |
| 404 // Returns the number of registered unload listeners. | 404 // Returns the number of registered unload listeners. |
| 405 virtual unsigned unloadListenerCount() const = 0; | 405 virtual unsigned unloadListenerCount() const = 0; |
| 406 | 406 |
| 407 | 407 |
| 408 // Editing ------------------------------------------------------------- | 408 // Editing ------------------------------------------------------------- |
| 409 | 409 |
| 410 // Replaces the selection with the given text. | 410 // Replaces the selection with the given text. |
| 411 virtual void replaceSelection(const WebString& text) = 0; | 411 virtual void replaceSelection(const WebString& text) = 0; |
| 412 | 412 |
| 413 virtual bool setCaretSelectionFromRangeSelection() = 0; |
| 414 |
| 413 virtual void insertText(const WebString& text) = 0; | 415 virtual void insertText(const WebString& text) = 0; |
| 414 | 416 |
| 415 virtual void setMarkedText(const WebString& text, unsigned location, unsigne
d length) = 0; | 417 virtual void setMarkedText(const WebString& text, unsigned location, unsigne
d length) = 0; |
| 416 virtual void unmarkText() = 0; | 418 virtual void unmarkText() = 0; |
| 417 virtual bool hasMarkedText() const = 0; | 419 virtual bool hasMarkedText() const = 0; |
| 418 | 420 |
| 419 virtual WebRange markedRange() const = 0; | 421 virtual WebRange markedRange() const = 0; |
| 420 | 422 |
| 421 // Returns the frame rectangle in window coordinate space of the given text | 423 // Returns the frame rectangle in window coordinate space of the given text |
| 422 // range. | 424 // range. |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 696 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
| 695 }; | 697 }; |
| 696 | 698 |
| 697 #if BLINK_IMPLEMENTATION | 699 #if BLINK_IMPLEMENTATION |
| 698 WebCore::Frame* toWebCoreFrame(WebFrame*); | 700 WebCore::Frame* toWebCoreFrame(WebFrame*); |
| 699 #endif | 701 #endif |
| 700 | 702 |
| 701 } // namespace blink | 703 } // namespace blink |
| 702 | 704 |
| 703 #endif | 705 #endif |
| OLD | NEW |