Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(920)

Side by Side Diff: content/renderer/savable_resources.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "base/macros.h"
12 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
13 #include "content/common/savable_subframe.h" 13 #include "content/common/savable_subframe.h"
14 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" 14 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h"
15 #include "url/gurl.h" 15 #include "url/gurl.h"
16 16
17 namespace blink { 17 namespace blink {
18 class WebElement; 18 class WebElement;
19 class WebFrame; 19 class WebFrame;
20 class WebString; 20 class WebString;
21 class WebView;
22 } 21 }
23 22
24 // A collection of operations that access the underlying WebKit DOM directly. 23 // A collection of operations that access the underlying WebKit DOM directly.
25 namespace content { 24 namespace content {
26 25
27 // Structure for storage the result of getting all savable resource links 26 // Structure for storage the result of getting all savable resource links
28 // for current page. The consumer of the SavableResourcesResult is responsible 27 // for current page. The consumer of the SavableResourcesResult is responsible
29 // for keeping these pointers valid for the lifetime of the 28 // for keeping these pointers valid for the lifetime of the
30 // SavableResourcesResult instance. 29 // SavableResourcesResult instance.
31 struct SavableResourcesResult { 30 struct SavableResourcesResult {
(...skipping 26 matching lines...) Expand all
58 // INPUT TYPE=image, returns the value in "src". For LINK TYPE=text/css, returns 57 // INPUT TYPE=image, returns the value in "src". For LINK TYPE=text/css, returns
59 // the value in "href". For BODY, TABLE, TR, TD, returns the value in 58 // the value in "href". For BODY, TABLE, TR, TD, returns the value in
60 // "background". For BLOCKQUOTE, Q, DEL, INS, returns the value in "cite" 59 // "background". For BLOCKQUOTE, Q, DEL, INS, returns the value in "cite"
61 // attribute. Otherwise returns a null WebString. 60 // attribute. Otherwise returns a null WebString.
62 CONTENT_EXPORT blink::WebString GetSubResourceLinkFromElement( 61 CONTENT_EXPORT blink::WebString GetSubResourceLinkFromElement(
63 const blink::WebElement& element); 62 const blink::WebElement& element);
64 63
65 } // namespace content 64 } // namespace content
66 65
67 #endif // CONTENT_RENDERER_SAVABLE_RESOURCES_H_ 66 #endif // CONTENT_RENDERER_SAVABLE_RESOURCES_H_
OLDNEW
« no previous file with comments | « content/renderer/renderer_webcolorchooser_impl.h ('k') | content/renderer/service_worker/embedded_worker_devtools_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698