Lines Matching refs:context_
61 context_(gtk_im_multicontext_new()),
72 DCHECK(context_);
75 // context_ and context_simple_ share the same callback handlers.
77 // context_ is for full input method support.
80 g_signal_connect(context_, "preedit_start",
82 g_signal_connect(context_, "preedit_end",
84 g_signal_connect(context_, "preedit_changed",
86 g_signal_connect(context_, "commit",
111 if (context_)
112 g_object_unref(context_);
147 // If IME is enabled by WebKit, this event will be dispatched to context_
160 filtered = gtk_im_context_filter_keypress(context_, event);
234 if (!context_ || !is_focused_)
243 gtk_im_context_focus_in(context_);
245 gtk_im_context_focus_out(context_);
254 gtk_im_context_set_cursor_location(context_, &cursor_rect);
273 gtk_im_context_focus_in(context_);
298 gtk_im_context_focus_out(context_);
328 gtk_im_multicontext_append_menuitems(GTK_IM_MULTICONTEXT(context_),
341 // To prevent any text from being committed when resetting the |context_|;
345 gtk_im_context_reset(context_);
350 // |context_| to make sure it gets reset correctly.
351 gtk_im_context_focus_out(context_);
352 gtk_im_context_focus_in(context_);
582 gtk_im_context_set_client_window(context_, widget->window);
588 gtk_im_context_set_client_window(context_, NULL);