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

Unified Diff: public/web/WebFrame.h

Issue 330613002: Copying text closes the keyboard and the text input gets unfocused, forcing virtual keyboard is get… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed FrameSelection changes and making use of existing APIs for serving the requirement. Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/tests/data/selection_collapse_to_end.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFrame.h
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h
index a05f137c92a21cd743c39debd98e4c93f8ef66a7..719d6a4530dea8832fe3d853a55472e7b4642cb0 100644
--- a/public/web/WebFrame.h
+++ b/public/web/WebFrame.h
@@ -410,6 +410,8 @@ public:
// Replaces the selection with the given text.
virtual void replaceSelection(const WebString& text) = 0;
+ virtual bool setCaretSelectionFromRangeSelection() = 0;
+
virtual void insertText(const WebString& text) = 0;
virtual void setMarkedText(const WebString& text, unsigned location, unsigned length) = 0;
« no previous file with comments | « Source/web/tests/data/selection_collapse_to_end.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698