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

Side by Side Diff: Source/web/WebLocalFrameImpl.h

Issue 653383002: Add new API for only moving the selection extent point. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated comment Created 6 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
« no previous file with comments | « no previous file | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 virtual void requestTextChecking(const WebElement&) override; 161 virtual void requestTextChecking(const WebElement&) override;
162 virtual void replaceMisspelledRange(const WebString&) override; 162 virtual void replaceMisspelledRange(const WebString&) override;
163 virtual void removeSpellingMarkers() override; 163 virtual void removeSpellingMarkers() override;
164 virtual bool hasSelection() const override; 164 virtual bool hasSelection() const override;
165 virtual WebRange selectionRange() const override; 165 virtual WebRange selectionRange() const override;
166 virtual WebString selectionAsText() const override; 166 virtual WebString selectionAsText() const override;
167 virtual WebString selectionAsMarkup() const override; 167 virtual WebString selectionAsMarkup() const override;
168 virtual bool selectWordAroundCaret() override; 168 virtual bool selectWordAroundCaret() override;
169 virtual void selectRange(const WebPoint& base, const WebPoint& extent) overr ide; 169 virtual void selectRange(const WebPoint& base, const WebPoint& extent) overr ide;
170 virtual void selectRange(const WebRange&) override; 170 virtual void selectRange(const WebRange&) override;
171 virtual void moveRangeSelectionExtent(const WebPoint&) override;
171 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent ) override; 172 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent ) override;
172 virtual void moveCaretSelection(const WebPoint&) override; 173 virtual void moveCaretSelection(const WebPoint&) override;
173 virtual bool setEditableSelectionOffsets(int start, int end) override; 174 virtual bool setEditableSelectionOffsets(int start, int end) override;
174 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) override; 175 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) override;
175 virtual void extendSelectionAndDelete(int before, int after) override; 176 virtual void extendSelectionAndDelete(int before, int after) override;
176 virtual void setCaretVisible(bool) override; 177 virtual void setCaretVisible(bool) override;
177 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode ) override; 178 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode ) override;
178 virtual float printPage(int pageToPrint, WebCanvas*) override; 179 virtual float printPage(int pageToPrint, WebCanvas*) override;
179 virtual float getPrintPageShrink(int page) override; 180 virtual float getPrintPageShrink(int page) override;
180 virtual void printEnd() override; 181 virtual void printEnd() override;
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 GC_PLUGIN_IGNORE("340522") 366 GC_PLUGIN_IGNORE("340522")
366 Persistent<WebLocalFrameImpl> m_selfKeepAlive; 367 Persistent<WebLocalFrameImpl> m_selfKeepAlive;
367 #endif 368 #endif
368 }; 369 };
369 370
370 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 371 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
371 372
372 } // namespace blink 373 } // namespace blink
373 374
374 #endif 375 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698