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

Side by Side Diff: third_party/WebKit/public/web/WebWidget.h

Issue 2674253004: [refactor] Remove WebWidget::applyReplacementRange (Closed)
Patch Set: Rebased 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
« no previous file with comments | « third_party/WebKit/public/web/WebInputMethodController.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 WebBrowserControlsState current, 211 WebBrowserControlsState current,
212 bool animate) {} 212 bool animate) {}
213 213
214 // Populate |bounds| with the composition character bounds for the ongoing 214 // Populate |bounds| with the composition character bounds for the ongoing
215 // composition. Returns false if there is no focused input or any ongoing 215 // composition. Returns false if there is no focused input or any ongoing
216 // composition. 216 // composition.
217 virtual bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) { 217 virtual bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) {
218 return false; 218 return false;
219 } 219 }
220 220
221 // Applies the range on the focused frame so that the text will later be
222 // replaced.
223 virtual void applyReplacementRange(const WebRange&) {}
224
225 protected: 221 protected:
226 ~WebWidget() {} 222 ~WebWidget() {}
227 }; 223 };
228 224
229 } // namespace blink 225 } // namespace blink
230 226
231 #endif 227 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebInputMethodController.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698