| 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 "WebCompositionUnderline.h" | 8 #include "WebCompositionUnderline.h" |
| 9 #include "WebFrame.h" | 9 #include "WebFrame.h" |
| 10 #include "WebFrameLoadType.h" | 10 #include "WebFrameLoadType.h" |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 | 258 |
| 259 // Moves the selection extent point. This function does not allow the | 259 // Moves the selection extent point. This function does not allow the |
| 260 // selection to collapse. If the new extent is set to the same position as | 260 // selection to collapse. If the new extent is set to the same position as |
| 261 // the current base, this function will do nothing. | 261 // the current base, this function will do nothing. |
| 262 virtual void moveRangeSelectionExtent(const WebPoint&) = 0; | 262 virtual void moveRangeSelectionExtent(const WebPoint&) = 0; |
| 263 // Replaces the selection with the input string. | 263 // Replaces the selection with the input string. |
| 264 virtual void replaceSelection(const WebString&) = 0; | 264 virtual void replaceSelection(const WebString&) = 0; |
| 265 | 265 |
| 266 // Spell-checking support ------------------------------------------------- | 266 // Spell-checking support ------------------------------------------------- |
| 267 virtual void replaceMisspelledRange(const WebString&) = 0; | 267 virtual void replaceMisspelledRange(const WebString&) = 0; |
| 268 virtual void enableContinuousSpellChecking(bool) = 0; | 268 virtual void enableSpellChecking(bool) = 0; |
| 269 virtual bool isContinuousSpellCheckingEnabled() const = 0; | 269 virtual bool isSpellCheckingEnabled() const = 0; |
| 270 virtual void requestTextChecking(const WebElement&) = 0; | 270 virtual void requestTextChecking(const WebElement&) = 0; |
| 271 virtual void removeSpellingMarkers() = 0; | 271 virtual void removeSpellingMarkers() = 0; |
| 272 | 272 |
| 273 // Content Settings ------------------------------------------------------- | 273 // Content Settings ------------------------------------------------------- |
| 274 | 274 |
| 275 virtual void setContentSettingsClient(WebContentSettingsClient*) = 0; | 275 virtual void setContentSettingsClient(WebContentSettingsClient*) = 0; |
| 276 | 276 |
| 277 // App banner ------------------------------------------------------------- | 277 // App banner ------------------------------------------------------------- |
| 278 | 278 |
| 279 // Request to show an application install banner for the given |platforms|. | 279 // Request to show an application install banner for the given |platforms|. |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 // to call these on a WebLocalFrame. | 417 // to call these on a WebLocalFrame. |
| 418 bool isWebLocalFrame() const override = 0; | 418 bool isWebLocalFrame() const override = 0; |
| 419 WebLocalFrame* toWebLocalFrame() override = 0; | 419 WebLocalFrame* toWebLocalFrame() override = 0; |
| 420 bool isWebRemoteFrame() const override = 0; | 420 bool isWebRemoteFrame() const override = 0; |
| 421 WebRemoteFrame* toWebRemoteFrame() override = 0; | 421 WebRemoteFrame* toWebRemoteFrame() override = 0; |
| 422 }; | 422 }; |
| 423 | 423 |
| 424 } // namespace blink | 424 } // namespace blink |
| 425 | 425 |
| 426 #endif // WebLocalFrame_h | 426 #endif // WebLocalFrame_h |
| OLD | NEW |