| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 WEBKIT_GLUE_CONTEXT_NODE_TYPES_H__ | 5 #ifndef WEBKIT_GLUE_CONTEXT_NODE_TYPES_H__ |
| 6 #define WEBKIT_GLUE_CONTEXT_NODE_TYPES_H__ | 6 #define WEBKIT_GLUE_CONTEXT_NODE_TYPES_H__ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 | 67 |
| 68 // These values represent the coordinates of the mouse when the context menu | 68 // These values represent the coordinates of the mouse when the context menu |
| 69 // was invoked. Coords are relative to the associated RenderView's origin. | 69 // was invoked. Coords are relative to the associated RenderView's origin. |
| 70 int x; | 70 int x; |
| 71 int y; | 71 int y; |
| 72 | 72 |
| 73 // This is the URL of the link that encloses the node the context menu was | 73 // This is the URL of the link that encloses the node the context menu was |
| 74 // invoked on. | 74 // invoked on. |
| 75 GURL link_url; | 75 GURL link_url; |
| 76 | 76 |
| 77 // The link URL to be used ONLY for "copy link address". We don't validate |
| 78 // this field in the frontend process. |
| 79 GURL unfiltered_link_url; |
| 80 |
| 77 // This is the URL of the image the context menu was invoked on. | 81 // This is the URL of the image the context menu was invoked on. |
| 78 GURL image_url; | 82 GURL image_url; |
| 79 | 83 |
| 80 // This is the URL of the top level page that the context menu was invoked | 84 // This is the URL of the top level page that the context menu was invoked |
| 81 // on. | 85 // on. |
| 82 GURL page_url; | 86 GURL page_url; |
| 83 | 87 |
| 84 // This is the URL of the subframe that the context menu was invoked on. | 88 // This is the URL of the subframe that the context menu was invoked on. |
| 85 GURL frame_url; | 89 GURL frame_url; |
| 86 | 90 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 103 | 107 |
| 104 // These flags indicate to the browser whether the renderer believes it is | 108 // These flags indicate to the browser whether the renderer believes it is |
| 105 // able to perform the corresponding action. | 109 // able to perform the corresponding action. |
| 106 int edit_flags; | 110 int edit_flags; |
| 107 | 111 |
| 108 // The security info for the resource we are showing the menu on. | 112 // The security info for the resource we are showing the menu on. |
| 109 std::string security_info; | 113 std::string security_info; |
| 110 }; | 114 }; |
| 111 | 115 |
| 112 #endif // WEBKIT_GLUE_CONTEXT_NODE_TYPES_H__ | 116 #endif // WEBKIT_GLUE_CONTEXT_NODE_TYPES_H__ |
| OLD | NEW |