| OLD | NEW | 
|    1 // Copyright 2014 The Chromium Authors. All rights reserved. |    1 // Copyright 2014 The Chromium Authors. All rights reserved. | 
|    2 // Use of this source code is governed by a BSD-style license that can be |    2 // Use of this source code is governed by a BSD-style license that can be | 
|    3 // found in the LICENSE file. |    3 // found in the LICENSE file. | 
|    4  |    4  | 
|    5 #ifndef WebLocalFrame_h |    5 #ifndef WebLocalFrame_h | 
|    6 #define WebLocalFrame_h |    6 #define WebLocalFrame_h | 
|    7  |    7  | 
|    8 #include "WebFrame.h" |    8 #include "WebFrame.h" | 
|    9 #include "WebFrameLoadType.h" |    9 #include "WebFrameLoadType.h" | 
|   10  |   10  | 
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  248     virtual void extendSelectionAndDelete(int before, int after) = 0; |  248     virtual void extendSelectionAndDelete(int before, int after) = 0; | 
|  249  |  249  | 
|  250     virtual void setCaretVisible(bool) = 0; |  250     virtual void setCaretVisible(bool) = 0; | 
|  251  |  251  | 
|  252     // Moves the selection extent point. This function does not allow the |  252     // Moves the selection extent point. This function does not allow the | 
|  253     // selection to collapse. If the new extent is set to the same position as |  253     // selection to collapse. If the new extent is set to the same position as | 
|  254     // the current base, this function will do nothing. |  254     // the current base, this function will do nothing. | 
|  255     virtual void moveRangeSelectionExtent(const WebPoint&) = 0; |  255     virtual void moveRangeSelectionExtent(const WebPoint&) = 0; | 
|  256     // Replaces the selection with the input string. |  256     // Replaces the selection with the input string. | 
|  257     virtual void replaceSelection(const WebString&) = 0; |  257     virtual void replaceSelection(const WebString&) = 0; | 
 |  258     // Deletes text before and after the current cursor position, excluding the 
     selection. | 
 |  259     virtual void deleteSurroundingText(int before, int after) = 0; | 
|  258  |  260  | 
|  259     // Spell-checking support ------------------------------------------------- |  261     // Spell-checking support ------------------------------------------------- | 
|  260     virtual void replaceMisspelledRange(const WebString&) = 0; |  262     virtual void replaceMisspelledRange(const WebString&) = 0; | 
|  261     virtual void enableContinuousSpellChecking(bool) = 0; |  263     virtual void enableContinuousSpellChecking(bool) = 0; | 
|  262     virtual bool isContinuousSpellCheckingEnabled() const = 0; |  264     virtual bool isContinuousSpellCheckingEnabled() const = 0; | 
|  263     virtual void requestTextChecking(const WebElement&) = 0; |  265     virtual void requestTextChecking(const WebElement&) = 0; | 
|  264     virtual void removeSpellingMarkers() = 0; |  266     virtual void removeSpellingMarkers() = 0; | 
|  265  |  267  | 
|  266     // Content Settings ------------------------------------------------------- |  268     // Content Settings ------------------------------------------------------- | 
|  267  |  269  | 
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  428     // to call these on a WebLocalFrame. |  430     // to call these on a WebLocalFrame. | 
|  429     bool isWebLocalFrame() const override = 0; |  431     bool isWebLocalFrame() const override = 0; | 
|  430     WebLocalFrame* toWebLocalFrame() override = 0; |  432     WebLocalFrame* toWebLocalFrame() override = 0; | 
|  431     bool isWebRemoteFrame() const override = 0; |  433     bool isWebRemoteFrame() const override = 0; | 
|  432     WebRemoteFrame* toWebRemoteFrame() override = 0; |  434     WebRemoteFrame* toWebRemoteFrame() override = 0; | 
|  433 }; |  435 }; | 
|  434  |  436  | 
|  435 } // namespace blink |  437 } // namespace blink | 
|  436  |  438  | 
|  437 #endif // WebLocalFrame_h |  439 #endif // WebLocalFrame_h | 
| OLD | NEW |