OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ |
6 #define CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ | 6 #define CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
161 scoped_ptr<SpellingMenuObserver> spelling_menu_observer_; | 161 scoped_ptr<SpellingMenuObserver> spelling_menu_observer_; |
162 | 162 |
163 // An observer that handles a 'spell-checker options' submenu. | 163 // An observer that handles a 'spell-checker options' submenu. |
164 scoped_ptr<SpellCheckerSubMenuObserver> spellchecker_submenu_observer_; | 164 scoped_ptr<SpellCheckerSubMenuObserver> spellchecker_submenu_observer_; |
165 | 165 |
166 #if defined(ENABLE_PRINT_PREVIEW) | 166 #if defined(ENABLE_PRINT_PREVIEW) |
167 // An observer that disables menu items when print preview is active. | 167 // An observer that disables menu items when print preview is active. |
168 scoped_ptr<PrintPreviewContextMenuObserver> print_preview_menu_observer_; | 168 scoped_ptr<PrintPreviewContextMenuObserver> print_preview_menu_observer_; |
169 #endif | 169 #endif |
170 | 170 |
171 // In the case of a MimeHandlerView this will point to the WebContents that | |
172 // embeds the MimeHandlerViewGuest. Otherwise this will be the same as | |
173 // source_web_contents_. | |
lazyboy
2015/04/30 16:33:31
|source_web_contents_|
Deepak
2015/05/02 06:25:20
Done.
| |
174 content::WebContents* embedder_web_contents_; | |
175 | |
171 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); | 176 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); |
172 }; | 177 }; |
173 | 178 |
174 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ | 179 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ |
OLD | NEW |