mac: Almost fix Lion accented character bubble input in web contents.
Once webkit change https://bugs.webkit.org/show_bug.cgi?id=69846 is in,
it'll be fixed completely.
BUG=91003
TEST=press and hold a, then hit 1. An accented a should appear, the
unaccented a should disappear.
Review URL: http://codereview.chromium.org/8227018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105040 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index f54b3ad..397e48c 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -49,6 +49,10 @@
class PlatformCanvas;
}
+namespace ui {
+class Range;
+}
+
namespace webkit {
namespace npapi {
struct WebPluginGeometry;
@@ -206,7 +210,8 @@
const std::vector<WebKit::WebCompositionUnderline>& underlines,
int selection_start,
int selection_end);
- virtual void OnImeConfirmComposition(const string16& text);
+ virtual void OnImeConfirmComposition(
+ const string16& text, const ui::Range& replacement_range);
void OnMsgPaintAtSize(const TransportDIB::Handle& dib_id,
int tag,
const gfx::Size& page_size,