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

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

Issue 2617443002: Implement ThreadedInputConnection.deleteSurroundingTextInCodePoints() (Closed)
Patch Set: Don't convert utf8 Created 3 years, 10 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 const WebPoint& extent, 195 const WebPoint& extent,
196 WebFrame::TextGranularity = CharacterGranularity) override; 196 WebFrame::TextGranularity = CharacterGranularity) override;
197 void moveCaretSelection(const WebPoint&) override; 197 void moveCaretSelection(const WebPoint&) override;
198 bool setEditableSelectionOffsets(int start, int end) override; 198 bool setEditableSelectionOffsets(int start, int end) override;
199 bool setCompositionFromExistingText( 199 bool setCompositionFromExistingText(
200 int compositionStart, 200 int compositionStart,
201 int compositionEnd, 201 int compositionEnd,
202 const WebVector<WebCompositionUnderline>& underlines) override; 202 const WebVector<WebCompositionUnderline>& underlines) override;
203 void extendSelectionAndDelete(int before, int after) override; 203 void extendSelectionAndDelete(int before, int after) override;
204 void deleteSurroundingText(int before, int after) override; 204 void deleteSurroundingText(int before, int after) override;
205 void deleteSurroundingTextInCodePoints(int before, int after) override;
205 void setCaretVisible(bool) override; 206 void setCaretVisible(bool) override;
206 int printBegin(const WebPrintParams&, 207 int printBegin(const WebPrintParams&,
207 const WebNode& constrainToNode) override; 208 const WebNode& constrainToNode) override;
208 float printPage(int pageToPrint, WebCanvas*) override; 209 float printPage(int pageToPrint, WebCanvas*) override;
209 float getPrintPageShrink(int page) override; 210 float getPrintPageShrink(int page) override;
210 void printEnd() override; 211 void printEnd() override;
211 bool isPrintScalingDisabledForPlugin(const WebNode&) override; 212 bool isPrintScalingDisabledForPlugin(const WebNode&) override;
212 bool getPrintPresetOptionsForPlugin(const WebNode&, 213 bool getPrintPresetOptionsForPlugin(const WebNode&,
213 WebPrintPresetOptions*) override; 214 WebPrintPresetOptions*) override;
214 bool hasCustomPageSizeStyle(int pageIndex) override; 215 bool hasCustomPageSizeStyle(int pageIndex) override;
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 496
496 DEFINE_TYPE_CASTS(WebLocalFrameImpl, 497 DEFINE_TYPE_CASTS(WebLocalFrameImpl,
497 WebFrame, 498 WebFrame,
498 frame, 499 frame,
499 frame->isWebLocalFrame(), 500 frame->isWebLocalFrame(),
500 frame.isWebLocalFrame()); 501 frame.isWebLocalFrame());
501 502
502 } // namespace blink 503 } // namespace blink
503 504
504 #endif 505 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698