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

Unified Diff: webkit/glue/context_menu.cc

Issue 7086005: Context menu for "Voice recognition options" (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Context menu for "Voice recognition options" only appears when input-field has x-webkit-speech Created 9 years, 5 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: webkit/glue/context_menu.cc
diff --git a/webkit/glue/context_menu.cc b/webkit/glue/context_menu.cc
index 2363a97f7ce2ce2a9b71a2ee577f8748b0fcf317..899b768bf79f6c9faa07c613c0ac8911b8ecaa0e 100644
--- a/webkit/glue/context_menu.cc
+++ b/webkit/glue/context_menu.cc
@@ -42,6 +42,7 @@ ContextMenuParams::ContextMenuParams(const WebKit::WebContextMenuData& data)
media_flags(data.mediaFlags),
selection_text(data.selectedText),
misspelled_word(data.misspelledWord),
+ speech_input_enabled(data.isSpeechInputEnabled),
spellcheck_enabled(data.isSpellCheckingEnabled),
is_editable(data.isEditable),
#if defined(OS_MACOSX)
« content/browser/speech/speech_input_manager.h ('K') | « webkit/glue/context_menu.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698