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

Side by Side Diff: content/public/browser/web_contents.h

Issue 2734943005: Remove moveCursorToSelectionEnd() (Closed)
Patch Set: For dtrainor@'s review Created 3 years, 9 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 457
458 virtual void Undo() = 0; 458 virtual void Undo() = 0;
459 virtual void Redo() = 0; 459 virtual void Redo() = 0;
460 virtual void Cut() = 0; 460 virtual void Cut() = 0;
461 virtual void Copy() = 0; 461 virtual void Copy() = 0;
462 virtual void CopyToFindPboard() = 0; 462 virtual void CopyToFindPboard() = 0;
463 virtual void Paste() = 0; 463 virtual void Paste() = 0;
464 virtual void PasteAndMatchStyle() = 0; 464 virtual void PasteAndMatchStyle() = 0;
465 virtual void Delete() = 0; 465 virtual void Delete() = 0;
466 virtual void SelectAll() = 0; 466 virtual void SelectAll() = 0;
467 virtual void Unselect() = 0; 467 virtual void CollapseSelection() = 0;
468 468
469 // Adjust the selection starting and ending points in the focused frame by 469 // Adjust the selection starting and ending points in the focused frame by
470 // the given amounts. A negative amount moves the selection towards the 470 // the given amounts. A negative amount moves the selection towards the
471 // beginning of the document, a positive amount moves the selection towards 471 // beginning of the document, a positive amount moves the selection towards
472 // the end of the document. 472 // the end of the document.
473 virtual void AdjustSelectionByCharacterOffset(int start_adjust, 473 virtual void AdjustSelectionByCharacterOffset(int start_adjust,
474 int end_adjust) = 0; 474 int end_adjust) = 0;
475 475
476 // Replaces the currently selected word or a word around the cursor. 476 // Replaces the currently selected word or a word around the cursor.
477 virtual void Replace(const base::string16& word) = 0; 477 virtual void Replace(const base::string16& word) = 0;
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 787
788 private: 788 private:
789 // This interface should only be implemented inside content. 789 // This interface should only be implemented inside content.
790 friend class WebContentsImpl; 790 friend class WebContentsImpl;
791 WebContents() {} 791 WebContents() {}
792 }; 792 };
793 793
794 } // namespace content 794 } // namespace content
795 795
796 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 796 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698