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 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
134 std::string frame_charset; | 134 std::string frame_charset; |
135 | 135 |
136 // The referrer policy of the frame on which the menu is invoked. | 136 // The referrer policy of the frame on which the menu is invoked. |
137 blink::WebReferrerPolicy referrer_policy; | 137 blink::WebReferrerPolicy referrer_policy; |
138 | 138 |
139 CustomContextMenuContext custom_context; | 139 CustomContextMenuContext custom_context; |
140 std::vector<MenuItem> custom_items; | 140 std::vector<MenuItem> custom_items; |
141 | 141 |
142 ui::MenuSourceType source_type; | 142 ui::MenuSourceType source_type; |
143 | 143 |
144 std::string extension_id; | |
Devlin
2014/07/01 20:54:24
This is a layering violation - src/content should
gpdavis
2014/07/02 01:17:47
I actually think I don't need this anymore, so I'l
| |
145 | |
144 #if defined(OS_ANDROID) | 146 #if defined(OS_ANDROID) |
145 // Points representing the coordinates in the document space of the start and | 147 // Points representing the coordinates in the document space of the start and |
146 // end of the selection, if there is one. | 148 // end of the selection, if there is one. |
147 gfx::Point selection_start; | 149 gfx::Point selection_start; |
148 gfx::Point selection_end; | 150 gfx::Point selection_end; |
149 #endif | 151 #endif |
150 }; | 152 }; |
151 | 153 |
152 } // namespace content | 154 } // namespace content |
153 | 155 |
154 #endif // CONTENT_PUBLIC_COMMON_CONTEXT_MENU_PARAMS_H_ | 156 #endif // CONTENT_PUBLIC_COMMON_CONTEXT_MENU_PARAMS_H_ |
OLD | NEW |