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

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

Issue 1889053003: Fix InputConnection.deleteSurroundingText() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 /* 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 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 // current selection is editable, the new selection will be restricted to 452 // current selection is editable, the new selection will be restricted to
453 // the root editable element. 453 // the root editable element.
454 // |TextGranularity| represents character wrapping granularity. If 454 // |TextGranularity| represents character wrapping granularity. If
455 // WordGranularity is set, WebFrame extends selection to wrap word. 455 // WordGranularity is set, WebFrame extends selection to wrap word.
456 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent , WebFrame::TextGranularity = CharacterGranularity) = 0; 456 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent , WebFrame::TextGranularity = CharacterGranularity) = 0;
457 virtual void moveCaretSelection(const WebPoint&) = 0; 457 virtual void moveCaretSelection(const WebPoint&) = 0;
458 458
459 virtual bool setEditableSelectionOffsets(int start, int end) = 0; 459 virtual bool setEditableSelectionOffsets(int start, int end) = 0;
460 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) = 0; 460 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) = 0;
461 virtual void extendSelectionAndDelete(int before, int after) = 0; 461 virtual void extendSelectionAndDelete(int before, int after) = 0;
462 virtual void deleteSurroundingText(int before, int after) = 0;
dcheng 2016/04/16 03:37:07 This doesn't look relevant to remote frames: can w
aelias_OOO_until_Jul13 2016/04/16 03:43:29 Why do you say that? Remote frames can have textb
dcheng 2016/04/16 03:53:39 In that case, the request should have been routed
462 463
463 virtual void setCaretVisible(bool) = 0; 464 virtual void setCaretVisible(bool) = 0;
464 465
465 // Printing ------------------------------------------------------------ 466 // Printing ------------------------------------------------------------
466 467
467 // Reformats the WebFrame for printing. WebPrintParams specifies the printab le 468 // Reformats the WebFrame for printing. WebPrintParams specifies the printab le
468 // content size, paper size, printable area size, printer DPI and print 469 // content size, paper size, printable area size, printer DPI and print
469 // scaling option. If constrainToNode node is specified, then only the given node 470 // scaling option. If constrainToNode node is specified, then only the given node
470 // is printed (for now only plugins are supported), instead of the entire fr ame. 471 // is printed (for now only plugins are supported), instead of the entire fr ame.
471 // Returns the number of pages that can be printed at the given 472 // Returns the number of pages that can be printed at the given
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 WebFrame* m_firstChild; 599 WebFrame* m_firstChild;
599 WebFrame* m_lastChild; 600 WebFrame* m_lastChild;
600 601
601 WebFrame* m_opener; 602 WebFrame* m_opener;
602 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; 603 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker;
603 }; 604 };
604 605
605 } // namespace blink 606 } // namespace blink
606 607
607 #endif 608 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp ('k') | third_party/WebKit/public/web/WebPlugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698