| OLD | NEW | 
|    1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 
|    2 // Use of this source code is governed by a BSD-style license that can be |    2 // Use of this source code is governed by a BSD-style license that can be | 
|    3 // found in the LICENSE file. |    3 // found in the LICENSE file. | 
|    4  |    4  | 
|    5 #ifndef CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ |    5 #ifndef CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ | 
|    6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ |    6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ | 
|    7  |    7  | 
|    8 #include <map> |    8 #include <map> | 
|    9 #include <string> |    9 #include <string> | 
|   10 #include <vector> |   10 #include <vector> | 
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  278   string16 PrintableSelectionText(); |  278   string16 PrintableSelectionText(); | 
|  279  |  279  | 
|  280   // The destination URL to use if the user tries to search for or navigate to |  280   // The destination URL to use if the user tries to search for or navigate to | 
|  281   // a text selection. |  281   // a text selection. | 
|  282   GURL selection_navigation_url_; |  282   GURL selection_navigation_url_; | 
|  283  |  283  | 
|  284   ui::SimpleMenuModel speech_input_submenu_model_; |  284   ui::SimpleMenuModel speech_input_submenu_model_; | 
|  285   ui::SimpleMenuModel bidi_submenu_model_; |  285   ui::SimpleMenuModel bidi_submenu_model_; | 
|  286   ui::SimpleMenuModel protocol_handler_submenu_model_; |  286   ui::SimpleMenuModel protocol_handler_submenu_model_; | 
|  287   ScopedVector<ui::SimpleMenuModel> extension_menu_models_; |  287   ScopedVector<ui::SimpleMenuModel> extension_menu_models_; | 
|  288   scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry_; |  288   ProtocolHandlerRegistry* protocol_handler_registry_; | 
|  289  |  289  | 
|  290   // An observer that handles spelling-menu items. |  290   // An observer that handles spelling-menu items. | 
|  291   scoped_ptr<SpellingMenuObserver> spelling_menu_observer_; |  291   scoped_ptr<SpellingMenuObserver> spelling_menu_observer_; | 
|  292  |  292  | 
|  293   // An observer that handles a 'spell-checker options' submenu. |  293   // An observer that handles a 'spell-checker options' submenu. | 
|  294   scoped_ptr<SpellCheckerSubMenuObserver> spellchecker_submenu_observer_; |  294   scoped_ptr<SpellCheckerSubMenuObserver> spellchecker_submenu_observer_; | 
|  295  |  295  | 
|  296   // An observer that disables menu items when print preview is active. |  296   // An observer that disables menu items when print preview is active. | 
|  297   scoped_ptr<PrintPreviewContextMenuObserver> print_preview_menu_observer_; |  297   scoped_ptr<PrintPreviewContextMenuObserver> print_preview_menu_observer_; | 
|  298  |  298  | 
|  299   // Our observers. |  299   // Our observers. | 
|  300   mutable ObserverList<RenderViewContextMenuObserver> observers_; |  300   mutable ObserverList<RenderViewContextMenuObserver> observers_; | 
|  301  |  301  | 
|  302   DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); |  302   DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); | 
|  303 }; |  303 }; | 
|  304  |  304  | 
|  305 #endif  // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ |  305 #endif  // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ | 
| OLD | NEW |