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

Unified Diff: content/renderer/render_widget.h

Issue 8227018: mac: Almost fix Lion accented character bubble input in web contents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: whoopsies Created 9 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index f54b3adbfc2764ca2f9cf5b8091098dfb9d5f31b..397e48cee7988b65b2d92227bc10c0722c93ef76 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -49,6 +49,10 @@ namespace skia {
class PlatformCanvas;
}
+namespace ui {
+class Range;
+}
+
namespace webkit {
namespace npapi {
struct WebPluginGeometry;
@@ -206,7 +210,8 @@ class CONTENT_EXPORT RenderWidget
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,

Powered by Google App Engine
This is Rietveld 408576698