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

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: Address yosin@'s review Created 4 years, 2 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 const WebPoint& base, 193 const WebPoint& base,
194 const WebPoint& extent, 194 const WebPoint& extent,
195 WebFrame::TextGranularity = CharacterGranularity) override; 195 WebFrame::TextGranularity = CharacterGranularity) override;
196 void moveCaretSelection(const WebPoint&) override; 196 void moveCaretSelection(const WebPoint&) override;
197 bool setEditableSelectionOffsets(int start, int end) override; 197 bool setEditableSelectionOffsets(int start, int end) override;
198 bool setCompositionFromExistingText( 198 bool setCompositionFromExistingText(
199 int compositionStart, 199 int compositionStart,
200 int compositionEnd, 200 int compositionEnd,
201 const WebVector<WebCompositionUnderline>& underlines) override; 201 const WebVector<WebCompositionUnderline>& underlines) override;
202 void extendSelectionAndDelete(int before, int after) override; 202 void extendSelectionAndDelete(int before, int after) override;
203 void deleteSurroundingText(int before, int after) override;
203 void setCaretVisible(bool) override; 204 void setCaretVisible(bool) override;
204 int printBegin(const WebPrintParams&, 205 int printBegin(const WebPrintParams&,
205 const WebNode& constrainToNode) override; 206 const WebNode& constrainToNode) override;
206 float printPage(int pageToPrint, WebCanvas*) override; 207 float printPage(int pageToPrint, WebCanvas*) override;
207 float getPrintPageShrink(int page) override; 208 float getPrintPageShrink(int page) override;
208 void printEnd() override; 209 void printEnd() override;
209 bool isPrintScalingDisabledForPlugin(const WebNode&) override; 210 bool isPrintScalingDisabledForPlugin(const WebNode&) override;
210 bool getPrintPresetOptionsForPlugin(const WebNode&, 211 bool getPrintPresetOptionsForPlugin(const WebNode&,
211 WebPrintPresetOptions*) override; 212 WebPrintPresetOptions*) override;
212 bool hasCustomPageSizeStyle(int pageIndex) override; 213 bool hasCustomPageSizeStyle(int pageIndex) override;
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 473
473 DEFINE_TYPE_CASTS(WebLocalFrameImpl, 474 DEFINE_TYPE_CASTS(WebLocalFrameImpl,
474 WebFrame, 475 WebFrame,
475 frame, 476 frame,
476 frame->isWebLocalFrame(), 477 frame->isWebLocalFrame(),
477 frame.isWebLocalFrame()); 478 frame.isWebLocalFrame());
478 479
479 } // namespace blink 480 } // namespace blink
480 481
481 #endif 482 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698