| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_RENDERER_SAVABLE_RESOURCES_H_ | 5 #ifndef CONTENT_RENDERER_SAVABLE_RESOURCES_H_ |
| 6 #define CONTENT_RENDERER_SAVABLE_RESOURCES_H_ | 6 #define CONTENT_RENDERER_SAVABLE_RESOURCES_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/macros.h" |
| 11 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
| 12 #include "content/common/savable_subframe.h" | 13 #include "content/common/savable_subframe.h" |
| 13 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" | 14 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" |
| 14 #include "url/gurl.h" | 15 #include "url/gurl.h" |
| 15 | 16 |
| 16 namespace blink { | 17 namespace blink { |
| 17 class WebElement; | 18 class WebElement; |
| 18 class WebFrame; | 19 class WebFrame; |
| 19 class WebString; | 20 class WebString; |
| 20 class WebView; | 21 class WebView; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 // INPUT TYPE=image, returns the value in "src". For LINK TYPE=text/css, returns | 58 // INPUT TYPE=image, returns the value in "src". For LINK TYPE=text/css, returns |
| 58 // the value in "href". For BODY, TABLE, TR, TD, returns the value in | 59 // the value in "href". For BODY, TABLE, TR, TD, returns the value in |
| 59 // "background". For BLOCKQUOTE, Q, DEL, INS, returns the value in "cite" | 60 // "background". For BLOCKQUOTE, Q, DEL, INS, returns the value in "cite" |
| 60 // attribute. Otherwise returns a null WebString. | 61 // attribute. Otherwise returns a null WebString. |
| 61 CONTENT_EXPORT blink::WebString GetSubResourceLinkFromElement( | 62 CONTENT_EXPORT blink::WebString GetSubResourceLinkFromElement( |
| 62 const blink::WebElement& element); | 63 const blink::WebElement& element); |
| 63 | 64 |
| 64 } // namespace content | 65 } // namespace content |
| 65 | 66 |
| 66 #endif // CONTENT_RENDERER_SAVABLE_RESOURCES_H_ | 67 #endif // CONTENT_RENDERER_SAVABLE_RESOURCES_H_ |
| OLD | NEW |