| 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 |
| 11 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
| 13 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
| 14 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" | 15 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" |
| 15 #include "components/renderer_context_menu/context_menu_content_type.h" | 16 #include "components/renderer_context_menu/context_menu_content_type.h" |
| 16 #include "components/renderer_context_menu/render_view_context_menu_base.h" | 17 #include "components/renderer_context_menu/render_view_context_menu_base.h" |
| 17 #include "components/renderer_context_menu/render_view_context_menu_observer.h" | 18 #include "components/renderer_context_menu/render_view_context_menu_observer.h" |
| 18 #include "components/renderer_context_menu/render_view_context_menu_proxy.h" | 19 #include "components/renderer_context_menu/render_view_context_menu_proxy.h" |
| 19 #include "content/public/common/context_menu_params.h" | 20 #include "content/public/common/context_menu_params.h" |
| 20 #include "ui/base/models/simple_menu_model.h" | 21 #include "ui/base/models/simple_menu_model.h" |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 | 185 |
| 185 // In the case of a MimeHandlerView this will point to the WebContents that | 186 // In the case of a MimeHandlerView this will point to the WebContents that |
| 186 // embeds the MimeHandlerViewGuest. Otherwise this will be the same as | 187 // embeds the MimeHandlerViewGuest. Otherwise this will be the same as |
| 187 // |source_web_contents_|. | 188 // |source_web_contents_|. |
| 188 content::WebContents* const embedder_web_contents_; | 189 content::WebContents* const embedder_web_contents_; |
| 189 | 190 |
| 190 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); | 191 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); |
| 191 }; | 192 }; |
| 192 | 193 |
| 193 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ | 194 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ |
| OLD | NEW |