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

Side by Side Diff: chrome/browser/tab_contents/render_view_context_menu.h

Issue 10546083: Convert ProtocolHandlerRegistry to be a ProfileKeyedService. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Reduce differences between orig and updated test. Trying to figure out why tests fail on try server… Created 8 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 unified diff | Download patch
OLDNEW
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 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 string16 PrintableSelectionText(); 280 string16 PrintableSelectionText();
281 281
282 // The destination URL to use if the user tries to search for or navigate to 282 // The destination URL to use if the user tries to search for or navigate to
283 // a text selection. 283 // a text selection.
284 GURL selection_navigation_url_; 284 GURL selection_navigation_url_;
285 285
286 ui::SimpleMenuModel speech_input_submenu_model_; 286 ui::SimpleMenuModel speech_input_submenu_model_;
287 ui::SimpleMenuModel bidi_submenu_model_; 287 ui::SimpleMenuModel bidi_submenu_model_;
288 ui::SimpleMenuModel protocol_handler_submenu_model_; 288 ui::SimpleMenuModel protocol_handler_submenu_model_;
289 ScopedVector<ui::SimpleMenuModel> extension_menu_models_; 289 ScopedVector<ui::SimpleMenuModel> extension_menu_models_;
290 scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry_; 290 ProtocolHandlerRegistry* protocol_handler_registry_;
291 291
292 // An observer that handles spelling-menu items. 292 // An observer that handles spelling-menu items.
293 scoped_ptr<SpellingMenuObserver> spelling_menu_observer_; 293 scoped_ptr<SpellingMenuObserver> spelling_menu_observer_;
294 294
295 // An observer that handles a 'spell-checker options' submenu. 295 // An observer that handles a 'spell-checker options' submenu.
296 scoped_ptr<SpellCheckerSubMenuObserver> spellchecker_submenu_observer_; 296 scoped_ptr<SpellCheckerSubMenuObserver> spellchecker_submenu_observer_;
297 297
298 // An observer that disables menu items when print preview is active. 298 // An observer that disables menu items when print preview is active.
299 scoped_ptr<PrintPreviewContextMenuObserver> print_preview_menu_observer_; 299 scoped_ptr<PrintPreviewContextMenuObserver> print_preview_menu_observer_;
300 300
301 // Our observers. 301 // Our observers.
302 mutable ObserverList<RenderViewContextMenuObserver> observers_; 302 mutable ObserverList<RenderViewContextMenuObserver> observers_;
303 303
304 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); 304 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu);
305 }; 305 };
306 306
307 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ 307 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698