OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 71 |
72 // The absolute URL of the link that is in context. | 72 // The absolute URL of the link that is in context. |
73 WebURL linkURL; | 73 WebURL linkURL; |
74 | 74 |
75 // The absolute URL of the image/video/audio that is in context. | 75 // The absolute URL of the image/video/audio that is in context. |
76 WebURL srcURL; | 76 WebURL srcURL; |
77 | 77 |
78 // Whether the image in context is a null. | 78 // Whether the image in context is a null. |
79 bool hasImageContents; | 79 bool hasImageContents; |
80 | 80 |
| 81 // If |media_type| is MediaTypeImage and |has_image_contents| is true, then |
| 82 // this contains the image Chrome Proxy response header. |
| 83 std::string imageChromeProxyResponseHeader; |
| 84 |
81 // The absolute URL of the page in context. | 85 // The absolute URL of the page in context. |
82 WebURL pageURL; | 86 WebURL pageURL; |
83 | 87 |
84 // The absolute keyword search URL including the %s search tag when the | 88 // The absolute keyword search URL including the %s search tag when the |
85 // "Add as search engine..." option is clicked (left empty if not used). | 89 // "Add as search engine..." option is clicked (left empty if not used). |
86 WebURL keywordURL; | 90 WebURL keywordURL; |
87 | 91 |
88 // The absolute URL of the subframe in context. | 92 // The absolute URL of the subframe in context. |
89 WebURL frameURL; | 93 WebURL frameURL; |
90 | 94 |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 , isEditable(false) | 184 , isEditable(false) |
181 , writingDirectionDefault(CheckableMenuItemDisabled) | 185 , writingDirectionDefault(CheckableMenuItemDisabled) |
182 , writingDirectionLeftToRight(CheckableMenuItemEnabled) | 186 , writingDirectionLeftToRight(CheckableMenuItemEnabled) |
183 , writingDirectionRightToLeft(CheckableMenuItemEnabled) | 187 , writingDirectionRightToLeft(CheckableMenuItemEnabled) |
184 , editFlags(0) { } | 188 , editFlags(0) { } |
185 }; | 189 }; |
186 | 190 |
187 } // namespace blink | 191 } // namespace blink |
188 | 192 |
189 #endif | 193 #endif |
OLD | NEW |