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

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 review feedback. Created 5 years, 9 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 virtual void requestTextChecking(const WebElement&) override; 162 virtual void requestTextChecking(const WebElement&) override;
163 virtual void replaceMisspelledRange(const WebString&) override; 163 virtual void replaceMisspelledRange(const WebString&) override;
164 virtual void removeSpellingMarkers() override; 164 virtual void removeSpellingMarkers() override;
165 virtual bool hasSelection() const override; 165 virtual bool hasSelection() const override;
166 virtual WebRange selectionRange() const override; 166 virtual WebRange selectionRange() const override;
167 virtual WebString selectionAsText() const override; 167 virtual WebString selectionAsText() const override;
168 virtual WebString selectionAsMarkup() const override; 168 virtual WebString selectionAsMarkup() const override;
169 virtual bool selectWordAroundCaret() override; 169 virtual bool selectWordAroundCaret() override;
170 virtual void selectRange(const WebPoint& base, const WebPoint& extent) overr ide; 170 virtual void selectRange(const WebPoint& base, const WebPoint& extent) overr ide;
171 virtual void selectRange(const WebRange&) override; 171 virtual void selectRange(const WebRange&) override;
172 virtual void moveRangeSelectionExtent(const WebPoint&, WebFrame::TextGranula rity = CharacterGranularity) override; 172 virtual void moveRangeSelectionExtent(const WebPoint&) override;
173 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent , WebFrame::TextGranularity = CharacterGranularity) override; 173 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent , WebFrame::TextGranularity = CharacterGranularity) override;
174 virtual void moveCaretSelection(const WebPoint&) override; 174 virtual void moveCaretSelection(const WebPoint&) override;
175 virtual bool setEditableSelectionOffsets(int start, int end) override; 175 virtual bool setEditableSelectionOffsets(int start, int end) override;
176 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) override; 176 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) override;
177 virtual void extendSelectionAndDelete(int before, int after) override; 177 virtual void extendSelectionAndDelete(int before, int after) override;
178 virtual void setCaretVisible(bool) override; 178 virtual void setCaretVisible(bool) override;
179 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode ) override; 179 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode ) override;
180 virtual float printPage(int pageToPrint, WebCanvas*) override; 180 virtual float printPage(int pageToPrint, WebCanvas*) override;
181 virtual float getPrintPageShrink(int page) override; 181 virtual float getPrintPageShrink(int page) override;
182 virtual void printEnd() override; 182 virtual void printEnd() override;
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 GC_PLUGIN_IGNORE("340522") 384 GC_PLUGIN_IGNORE("340522")
385 Persistent<WebLocalFrameImpl> m_selfKeepAlive; 385 Persistent<WebLocalFrameImpl> m_selfKeepAlive;
386 #endif 386 #endif
387 }; 387 };
388 388
389 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 389 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
390 390
391 } // namespace blink 391 } // namespace blink
392 392
393 #endif 393 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698