| 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 "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
| 12 #include "googleurl/src/gurl.h" | 12 #include "googleurl/src/gurl.h" |
| 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h
" | 13 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" |
| 14 | 14 |
| 15 namespace WebKit { | 15 namespace WebKit { |
| 16 class WebElement; | 16 class WebElement; |
| 17 class WebString; | 17 class WebString; |
| 18 class WebView; | 18 class WebView; |
| 19 } | 19 } |
| 20 | 20 |
| 21 // A collection of operations that access the underlying WebKit DOM directly. | 21 // A collection of operations that access the underlying WebKit DOM directly. |
| 22 namespace content { | 22 namespace content { |
| 23 | 23 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 // INPUT TYPE=image, returns the value in "src". For LINK TYPE=text/css, returns | 65 // INPUT TYPE=image, returns the value in "src". For LINK TYPE=text/css, returns |
| 66 // the value in "href". For BODY, TABLE, TR, TD, returns the value in | 66 // the value in "href". For BODY, TABLE, TR, TD, returns the value in |
| 67 // "background". For BLOCKQUOTE, Q, DEL, INS, returns the value in "cite" | 67 // "background". For BLOCKQUOTE, Q, DEL, INS, returns the value in "cite" |
| 68 // attribute. Otherwise returns a null WebString. | 68 // attribute. Otherwise returns a null WebString. |
| 69 CONTENT_EXPORT WebKit::WebString GetSubResourceLinkFromElement( | 69 CONTENT_EXPORT WebKit::WebString GetSubResourceLinkFromElement( |
| 70 const WebKit::WebElement& element); | 70 const WebKit::WebElement& element); |
| 71 | 71 |
| 72 } // namespace content | 72 } // namespace content |
| 73 | 73 |
| 74 #endif // CONTENT_RENDERER_SAVABLE_RESOURCES_H_ | 74 #endif // CONTENT_RENDERER_SAVABLE_RESOURCES_H_ |
| OLD | NEW |