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

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

Issue 1889053003: Fix InputConnection.deleteSurroundingText() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change for changwan@'s review Created 4 years, 5 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 WebString selectionAsMarkup() const override; 160 WebString selectionAsMarkup() const override;
161 bool selectWordAroundCaret() override; 161 bool selectWordAroundCaret() override;
162 void selectRange(const WebPoint& base, const WebPoint& extent) override; 162 void selectRange(const WebPoint& base, const WebPoint& extent) override;
163 void selectRange(const WebRange&) override; 163 void selectRange(const WebRange&) override;
164 void moveRangeSelectionExtent(const WebPoint&) override; 164 void moveRangeSelectionExtent(const WebPoint&) override;
165 void moveRangeSelection(const WebPoint& base, const WebPoint& extent, WebFra me::TextGranularity = CharacterGranularity) override; 165 void moveRangeSelection(const WebPoint& base, const WebPoint& extent, WebFra me::TextGranularity = CharacterGranularity) override;
166 void moveCaretSelection(const WebPoint&) override; 166 void moveCaretSelection(const WebPoint&) override;
167 bool setEditableSelectionOffsets(int start, int end) override; 167 bool setEditableSelectionOffsets(int start, int end) override;
168 bool setCompositionFromExistingText(int compositionStart, int compositionEnd , const WebVector<WebCompositionUnderline>& underlines) override; 168 bool setCompositionFromExistingText(int compositionStart, int compositionEnd , const WebVector<WebCompositionUnderline>& underlines) override;
169 void extendSelectionAndDelete(int before, int after) override; 169 void extendSelectionAndDelete(int before, int after) override;
170 void deleteSurroundingText(int before, int after) override;
170 void setCaretVisible(bool) override; 171 void setCaretVisible(bool) override;
171 int printBegin(const WebPrintParams&, const WebNode& constrainToNode) overri de; 172 int printBegin(const WebPrintParams&, const WebNode& constrainToNode) overri de;
172 float printPage(int pageToPrint, WebCanvas*) override; 173 float printPage(int pageToPrint, WebCanvas*) override;
173 float getPrintPageShrink(int page) override; 174 float getPrintPageShrink(int page) override;
174 void printEnd() override; 175 void printEnd() override;
175 bool isPrintScalingDisabledForPlugin(const WebNode&) override; 176 bool isPrintScalingDisabledForPlugin(const WebNode&) override;
176 bool getPrintPresetOptionsForPlugin(const WebNode&, WebPrintPresetOptions*) override; 177 bool getPrintPresetOptionsForPlugin(const WebNode&, WebPrintPresetOptions*) override;
177 bool hasCustomPageSizeStyle(int pageIndex) override; 178 bool hasCustomPageSizeStyle(int pageIndex) override;
178 bool isPageBoxVisible(int pageIndex) override; 179 bool isPageBoxVisible(int pageIndex) override;
179 void pageSizeAndMarginsInPixels( 180 void pageSizeAndMarginsInPixels(
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 // Accomplish that by keeping a self-referential Persistent<>. It is 399 // Accomplish that by keeping a self-referential Persistent<>. It is
399 // cleared upon close(). 400 // cleared upon close().
400 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; 401 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive;
401 }; 402 };
402 403
403 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 404 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
404 405
405 } // namespace blink 406 } // namespace blink
406 407
407 #endif 408 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698