| 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 <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 #include "printing/features/features.h" | 25 #include "printing/features/features.h" |
| 26 #include "ui/base/models/simple_menu_model.h" | 26 #include "ui/base/models/simple_menu_model.h" |
| 27 #include "ui/base/window_open_disposition.h" | 27 #include "ui/base/window_open_disposition.h" |
| 28 #include "ui/gfx/geometry/vector2d.h" | 28 #include "ui/gfx/geometry/vector2d.h" |
| 29 | 29 |
| 30 #if BUILDFLAG(ENABLE_EXTENSIONS) | 30 #if BUILDFLAG(ENABLE_EXTENSIONS) |
| 31 #include "chrome/browser/extensions/context_menu_matcher.h" | 31 #include "chrome/browser/extensions/context_menu_matcher.h" |
| 32 #include "chrome/browser/extensions/menu_manager.h" | 32 #include "chrome/browser/extensions/menu_manager.h" |
| 33 #endif | 33 #endif |
| 34 | 34 |
| 35 class OpenWithMenuObserver; | |
| 36 class PrintPreviewContextMenuObserver; | 35 class PrintPreviewContextMenuObserver; |
| 37 class Profile; | 36 class Profile; |
| 38 class SpellingMenuObserver; | 37 class SpellingMenuObserver; |
| 39 class SpellingOptionsSubMenuObserver; | 38 class SpellingOptionsSubMenuObserver; |
| 40 | 39 |
| 41 namespace content { | 40 namespace content { |
| 42 class RenderFrameHost; | 41 class RenderFrameHost; |
| 43 class WebContents; | 42 class WebContents; |
| 44 } | 43 } |
| 45 | 44 |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 | 245 |
| 247 // In the case of a MimeHandlerView this will point to the WebContents that | 246 // In the case of a MimeHandlerView this will point to the WebContents that |
| 248 // embeds the MimeHandlerViewGuest. Otherwise this will be the same as | 247 // embeds the MimeHandlerViewGuest. Otherwise this will be the same as |
| 249 // |source_web_contents_|. | 248 // |source_web_contents_|. |
| 250 content::WebContents* const embedder_web_contents_; | 249 content::WebContents* const embedder_web_contents_; |
| 251 | 250 |
| 252 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); | 251 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); |
| 253 }; | 252 }; |
| 254 | 253 |
| 255 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ | 254 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ |
| OLD | NEW |