| OLD | NEW |
| 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 CONTENT_PUBLIC_COMMON_CONTEXT_MENU_PARAMS_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_CONTEXT_MENU_PARAMS_H_ |
| 6 #define CONTENT_PUBLIC_COMMON_CONTEXT_MENU_PARAMS_H_ | 6 #define CONTENT_PUBLIC_COMMON_CONTEXT_MENU_PARAMS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/string16.h" | 12 #include "base/string16.h" |
| 13 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
| 14 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
| 15 #include "content/public/common/ssl_status.h" | 15 #include "content/public/common/ssl_status.h" |
| 16 #include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h
" |
| 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebContextMenuData.h" |
| 16 #include "webkit/glue/webmenuitem.h" | 18 #include "webkit/glue/webmenuitem.h" |
| 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebContextMenuData.h" | |
| 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebReferrerPolicy.h" | |
| 19 | 19 |
| 20 namespace content { | 20 namespace content { |
| 21 | 21 |
| 22 struct CONTENT_EXPORT CustomContextMenuContext { | 22 struct CONTENT_EXPORT CustomContextMenuContext { |
| 23 static const int32 kCurrentRenderWidget; | 23 static const int32 kCurrentRenderWidget; |
| 24 | 24 |
| 25 CustomContextMenuContext(); | 25 CustomContextMenuContext(); |
| 26 | 26 |
| 27 bool is_pepper_menu; | 27 bool is_pepper_menu; |
| 28 int request_id; | 28 int request_id; |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 // The referrer policy of the frame on which the menu is invoked. | 132 // The referrer policy of the frame on which the menu is invoked. |
| 133 WebKit::WebReferrerPolicy referrer_policy; | 133 WebKit::WebReferrerPolicy referrer_policy; |
| 134 | 134 |
| 135 CustomContextMenuContext custom_context; | 135 CustomContextMenuContext custom_context; |
| 136 std::vector<WebMenuItem> custom_items; | 136 std::vector<WebMenuItem> custom_items; |
| 137 }; | 137 }; |
| 138 | 138 |
| 139 } // namespace content | 139 } // namespace content |
| 140 | 140 |
| 141 #endif // CONTENT_PUBLIC_COMMON_CONTEXT_MENU_PARAMS_H_ | 141 #endif // CONTENT_PUBLIC_COMMON_CONTEXT_MENU_PARAMS_H_ |
| OLD | NEW |