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

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

Issue 1117893002: Moving extension code out of "components/" to avoid layering violations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing nit. Created 5 years, 7 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 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 scoped_ptr<SpellingMenuObserver> spelling_menu_observer_; 169 scoped_ptr<SpellingMenuObserver> spelling_menu_observer_;
170 170
171 // An observer that handles a 'spell-checker options' submenu. 171 // An observer that handles a 'spell-checker options' submenu.
172 scoped_ptr<SpellCheckerSubMenuObserver> spellchecker_submenu_observer_; 172 scoped_ptr<SpellCheckerSubMenuObserver> spellchecker_submenu_observer_;
173 173
174 #if defined(ENABLE_PRINT_PREVIEW) 174 #if defined(ENABLE_PRINT_PREVIEW)
175 // An observer that disables menu items when print preview is active. 175 // An observer that disables menu items when print preview is active.
176 scoped_ptr<PrintPreviewContextMenuObserver> print_preview_menu_observer_; 176 scoped_ptr<PrintPreviewContextMenuObserver> print_preview_menu_observer_;
177 #endif 177 #endif
178 178
179 // In the case of a MimeHandlerView this will point to the WebContents that
180 // embeds the MimeHandlerViewGuest. Otherwise this will be the same as
181 // |source_web_contents_|.
182 content::WebContents* embedder_web_contents_;
183
179 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); 184 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu);
180 }; 185 };
181 186
182 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ 187 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698