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

Unified Diff: chrome/browser/tab_contents/render_view_context_menu.h

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: chrome/browser/tab_contents/render_view_context_menu.h
diff --git a/chrome/browser/tab_contents/render_view_context_menu.h b/chrome/browser/tab_contents/render_view_context_menu.h
index f5f600c3cda6569ef91dde31421757813406a11b..908103494f68c17c36b3e6ced477b355c7fc9b2b 100644
--- a/chrome/browser/tab_contents/render_view_context_menu.h
+++ b/chrome/browser/tab_contents/render_view_context_menu.h
@@ -111,6 +111,7 @@ class RenderViewContextMenu : public ui::SimpleMenuModel::Delegate {
void AppendSearchProvider();
void AppendAllExtensionItems();
void AppendSpellcheckOptionsSubMenu();
+ void AppendSpeechInputOptionsSubMenu();
// Add writing direction sub menu (only used on Mac).
void AppendBidiSubMenu();
void AppendProtocolHandlerSubMenu();
@@ -162,6 +163,7 @@ class RenderViewContextMenu : public ui::SimpleMenuModel::Delegate {
GURL selection_navigation_url_;
ui::SimpleMenuModel spellcheck_submenu_model_;
+ ui::SimpleMenuModel speech_input_submenu_model_;
ui::SimpleMenuModel bidi_submenu_model_;
ui::SimpleMenuModel protocol_handler_submenu_model_;
ScopedVector<ui::SimpleMenuModel> extension_menu_models_;

Powered by Google App Engine
This is Rietveld 408576698