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

Unified Diff: Source/web/WebLocalFrameImpl.h

Issue 294073005: Extend WebSurroundingText to accept a WebRange. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase and use int 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
Index: Source/web/WebLocalFrameImpl.h
diff --git a/Source/web/WebLocalFrameImpl.h b/Source/web/WebLocalFrameImpl.h
index 520ed71d76fc1b138ff2719651c9f91e5f7d6844..e8c15ef17c9643dfe129a8b0f98d64d56641ecf8 100644
--- a/Source/web/WebLocalFrameImpl.h
+++ b/Source/web/WebLocalFrameImpl.h
@@ -184,6 +184,7 @@ public:
virtual void extendSelectionAndDelete(int before, int after) OVERRIDE;
virtual void addStyleSheetByURL(const WebString& url) OVERRIDE;
virtual void setCaretVisible(bool) OVERRIDE;
+ virtual WebString textSurroundingSelection(int maxLength, int* startOffset, int* endOffset) const OVERRIDE;
virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode) OVERRIDE;
virtual float printPage(int pageToPrint, WebCanvas*) OVERRIDE;
virtual float getPrintPageShrink(int page) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698