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

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

Issue 988023005: Implementing directional selection strategy in Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Putting GranularityStrategy into separate files. Created 5 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 virtual void requestTextChecking(const WebElement&) override; 169 virtual void requestTextChecking(const WebElement&) override;
170 virtual void replaceMisspelledRange(const WebString&) override; 170 virtual void replaceMisspelledRange(const WebString&) override;
171 virtual void removeSpellingMarkers() override; 171 virtual void removeSpellingMarkers() override;
172 virtual bool hasSelection() const override; 172 virtual bool hasSelection() const override;
173 virtual WebRange selectionRange() const override; 173 virtual WebRange selectionRange() const override;
174 virtual WebString selectionAsText() const override; 174 virtual WebString selectionAsText() const override;
175 virtual WebString selectionAsMarkup() const override; 175 virtual WebString selectionAsMarkup() const override;
176 virtual bool selectWordAroundCaret() override; 176 virtual bool selectWordAroundCaret() override;
177 virtual void selectRange(const WebPoint& base, const WebPoint& extent) overr ide; 177 virtual void selectRange(const WebPoint& base, const WebPoint& extent) overr ide;
178 virtual void selectRange(const WebRange&) override; 178 virtual void selectRange(const WebRange&) override;
179 virtual void moveRangeSelectionExtent(const WebPoint&, WebFrame::TextGranula rity = CharacterGranularity) override; 179 virtual void moveRangeSelectionExtent(const WebPoint&) override;
180 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent , WebFrame::TextGranularity = CharacterGranularity) override; 180 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent , WebFrame::TextGranularity = CharacterGranularity) override;
181 virtual void moveCaretSelection(const WebPoint&) override; 181 virtual void moveCaretSelection(const WebPoint&) override;
182 virtual bool setEditableSelectionOffsets(int start, int end) override; 182 virtual bool setEditableSelectionOffsets(int start, int end) override;
183 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) override; 183 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) override;
184 virtual void extendSelectionAndDelete(int before, int after) override; 184 virtual void extendSelectionAndDelete(int before, int after) override;
185 virtual void setCaretVisible(bool) override; 185 virtual void setCaretVisible(bool) override;
186 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode ) override; 186 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode ) override;
187 virtual float printPage(int pageToPrint, WebCanvas*) override; 187 virtual float printPage(int pageToPrint, WebCanvas*) override;
188 virtual float getPrintPageShrink(int page) override; 188 virtual float getPrintPageShrink(int page) override;
189 virtual void printEnd() override; 189 virtual void printEnd() override;
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 GC_PLUGIN_IGNORE("340522") 401 GC_PLUGIN_IGNORE("340522")
402 Persistent<WebLocalFrameImpl> m_selfKeepAlive; 402 Persistent<WebLocalFrameImpl> m_selfKeepAlive;
403 #endif 403 #endif
404 }; 404 };
405 405
406 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 406 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
407 407
408 } // namespace blink 408 } // namespace blink
409 409
410 #endif 410 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698