| 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 void insertText(const WebString&) override; | 142 void insertText(const WebString&) override; |
| 143 void setMarkedText(const WebString&, unsigned location, unsigned length) ove
rride; | 143 void setMarkedText(const WebString&, unsigned location, unsigned length) ove
rride; |
| 144 void unmarkText() override; | 144 void unmarkText() override; |
| 145 bool hasMarkedText() const override; | 145 bool hasMarkedText() const override; |
| 146 WebRange markedRange() const override; | 146 WebRange markedRange() const override; |
| 147 bool firstRectForCharacterRange(unsigned location, unsigned length, WebRect&
) const override; | 147 bool firstRectForCharacterRange(unsigned location, unsigned length, WebRect&
) const override; |
| 148 size_t characterIndexForPoint(const WebPoint&) const override; | 148 size_t characterIndexForPoint(const WebPoint&) const override; |
| 149 bool executeCommand(const WebString&) override; | 149 bool executeCommand(const WebString&) override; |
| 150 bool executeCommand(const WebString&, const WebString& value) override; | 150 bool executeCommand(const WebString&, const WebString& value) override; |
| 151 bool isCommandEnabled(const WebString&) const override; | 151 bool isCommandEnabled(const WebString&) const override; |
| 152 void enableContinuousSpellChecking(bool) override; | 152 void enableSpellChecking(bool) override; |
| 153 bool isContinuousSpellCheckingEnabled() const override; | 153 bool isSpellCheckingEnabled() const override; |
| 154 void requestTextChecking(const WebElement&) override; | 154 void requestTextChecking(const WebElement&) override; |
| 155 void replaceMisspelledRange(const WebString&) override; | 155 void replaceMisspelledRange(const WebString&) override; |
| 156 void removeSpellingMarkers() override; | 156 void removeSpellingMarkers() override; |
| 157 bool hasSelection() const override; | 157 bool hasSelection() const override; |
| 158 WebRange selectionRange() const override; | 158 WebRange selectionRange() const override; |
| 159 WebString selectionAsText() const override; | 159 WebString selectionAsText() const override; |
| 160 WebString selectionAsMarkup() const override; | 160 WebString selectionAsMarkup() const override; |
| 161 bool selectWordAroundCaret() override; | 161 bool selectWordAroundCaret() override; |
| 162 void selectRange(const WebPoint& base, const WebPoint& extent) override; | 162 void selectRange(const WebPoint& base, const WebPoint& extent) override; |
| 163 void selectRange(const WebRange&) override; | 163 void selectRange(const WebRange&) override; |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 // Accomplish that by keeping a self-referential Persistent<>. It is | 395 // Accomplish that by keeping a self-referential Persistent<>. It is |
| 396 // cleared upon close(). | 396 // cleared upon close(). |
| 397 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; | 397 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; |
| 398 }; | 398 }; |
| 399 | 399 |
| 400 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 400 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
| 401 | 401 |
| 402 } // namespace blink | 402 } // namespace blink |
| 403 | 403 |
| 404 #endif | 404 #endif |
| OLD | NEW |