Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: third_party/WebKit/public/web/WebLocalFrame.h

Issue 1889053003: Fix InputConnection.deleteSurroundingText() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 virtual void extendSelectionAndDelete(int before, int after) = 0; 284 virtual void extendSelectionAndDelete(int before, int after) = 0;
285 285
286 virtual void setCaretVisible(bool) = 0; 286 virtual void setCaretVisible(bool) = 0;
287 287
288 // Moves the selection extent point. This function does not allow the 288 // Moves the selection extent point. This function does not allow the
289 // selection to collapse. If the new extent is set to the same position as 289 // selection to collapse. If the new extent is set to the same position as
290 // the current base, this function will do nothing. 290 // the current base, this function will do nothing.
291 virtual void moveRangeSelectionExtent(const WebPoint&) = 0; 291 virtual void moveRangeSelectionExtent(const WebPoint&) = 0;
292 // Replaces the selection with the input string. 292 // Replaces the selection with the input string.
293 virtual void replaceSelection(const WebString&) = 0; 293 virtual void replaceSelection(const WebString&) = 0;
294 // Deletes text before and after the current cursor position, excluding the
295 // selection.
296 virtual void deleteSurroundingText(int before, int after) = 0;
294 297
295 // Spell-checking support ------------------------------------------------- 298 // Spell-checking support -------------------------------------------------
296 virtual void replaceMisspelledRange(const WebString&) = 0; 299 virtual void replaceMisspelledRange(const WebString&) = 0;
297 virtual void enableSpellChecking(bool) = 0; 300 virtual void enableSpellChecking(bool) = 0;
298 virtual bool isSpellCheckingEnabled() const = 0; 301 virtual bool isSpellCheckingEnabled() const = 0;
299 virtual void requestTextChecking(const WebElement&) = 0; 302 virtual void requestTextChecking(const WebElement&) = 0;
300 virtual void removeSpellingMarkers() = 0; 303 virtual void removeSpellingMarkers() = 0;
301 304
302 // Content Settings ------------------------------------------------------- 305 // Content Settings -------------------------------------------------------
303 306
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 // to call these on a WebLocalFrame. 452 // to call these on a WebLocalFrame.
450 bool isWebLocalFrame() const override = 0; 453 bool isWebLocalFrame() const override = 0;
451 WebLocalFrame* toWebLocalFrame() override = 0; 454 WebLocalFrame* toWebLocalFrame() override = 0;
452 bool isWebRemoteFrame() const override = 0; 455 bool isWebRemoteFrame() const override = 0;
453 WebRemoteFrame* toWebRemoteFrame() override = 0; 456 WebRemoteFrame* toWebRemoteFrame() override = 0;
454 }; 457 };
455 458
456 } // namespace blink 459 } // namespace blink
457 460
458 #endif // WebLocalFrame_h 461 #endif // WebLocalFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698