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

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: Addressing feedback. 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 virtual void requestTextChecking(const WebElement&) override; 165 virtual void requestTextChecking(const WebElement&) override;
166 virtual void replaceMisspelledRange(const WebString&) override; 166 virtual void replaceMisspelledRange(const WebString&) override;
167 virtual void removeSpellingMarkers() override; 167 virtual void removeSpellingMarkers() override;
168 virtual bool hasSelection() const override; 168 virtual bool hasSelection() const override;
169 virtual WebRange selectionRange() const override; 169 virtual WebRange selectionRange() const override;
170 virtual WebString selectionAsText() const override; 170 virtual WebString selectionAsText() const override;
171 virtual WebString selectionAsMarkup() const override; 171 virtual WebString selectionAsMarkup() const override;
172 virtual bool selectWordAroundCaret() override; 172 virtual bool selectWordAroundCaret() override;
173 virtual void selectRange(const WebPoint& base, const WebPoint& extent) overr ide; 173 virtual void selectRange(const WebPoint& base, const WebPoint& extent) overr ide;
174 virtual void selectRange(const WebRange&) override; 174 virtual void selectRange(const WebRange&) override;
175 virtual void moveRangeSelectionExtent(const WebPoint&, WebFrame::TextGranula rity = CharacterGranularity) override; 175 virtual void moveRangeSelectionExtent(const WebPoint&) override;
176 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent , WebFrame::TextGranularity = CharacterGranularity) override; 176 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent , WebFrame::TextGranularity = CharacterGranularity) override;
177 virtual void moveCaretSelection(const WebPoint&) override; 177 virtual void moveCaretSelection(const WebPoint&) override;
178 virtual bool setEditableSelectionOffsets(int start, int end) override; 178 virtual bool setEditableSelectionOffsets(int start, int end) override;
179 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) override; 179 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) override;
180 virtual void extendSelectionAndDelete(int before, int after) override; 180 virtual void extendSelectionAndDelete(int before, int after) override;
181 virtual void setCaretVisible(bool) override; 181 virtual void setCaretVisible(bool) override;
182 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode ) override; 182 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode ) override;
183 virtual float printPage(int pageToPrint, WebCanvas*) override; 183 virtual float printPage(int pageToPrint, WebCanvas*) override;
184 virtual float getPrintPageShrink(int page) override; 184 virtual float getPrintPageShrink(int page) override;
185 virtual void printEnd() override; 185 virtual void printEnd() override;
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 GC_PLUGIN_IGNORE("340522") 397 GC_PLUGIN_IGNORE("340522")
398 Persistent<WebLocalFrameImpl> m_selfKeepAlive; 398 Persistent<WebLocalFrameImpl> m_selfKeepAlive;
399 #endif 399 #endif
400 }; 400 };
401 401
402 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 402 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
403 403
404 } // namespace blink 404 } // namespace blink
405 405
406 #endif 406 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698