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

Side by Side Diff: third_party/WebKit/public/web/WebDocument.h

Issue 2388103002: reflow comments in public/web (Closed)
Patch Set: Created 4 years, 2 months 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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 BLINK_EXPORT WebSecurityOrigin getSecurityOrigin() const; 82 BLINK_EXPORT WebSecurityOrigin getSecurityOrigin() const;
83 BLINK_EXPORT bool isSecureContext(WebString& errorMessage) const; 83 BLINK_EXPORT bool isSecureContext(WebString& errorMessage) const;
84 84
85 BLINK_EXPORT WebString encoding() const; 85 BLINK_EXPORT WebString encoding() const;
86 BLINK_EXPORT WebString contentLanguage() const; 86 BLINK_EXPORT WebString contentLanguage() const;
87 BLINK_EXPORT WebString referrer() const; 87 BLINK_EXPORT WebString referrer() const;
88 BLINK_EXPORT WebColor themeColor() const; 88 BLINK_EXPORT WebColor themeColor() const;
89 // The url of the OpenSearch Desription Document (if any). 89 // The url of the OpenSearch Desription Document (if any).
90 BLINK_EXPORT WebURL openSearchDescriptionURL() const; 90 BLINK_EXPORT WebURL openSearchDescriptionURL() const;
91 91
92 // Returns the frame the document belongs to or 0 if the document is frameless . 92 // Returns the frame the document belongs to or 0 if the document is
93 // frameless.
93 BLINK_EXPORT WebLocalFrame* frame() const; 94 BLINK_EXPORT WebLocalFrame* frame() const;
94 BLINK_EXPORT bool isHTMLDocument() const; 95 BLINK_EXPORT bool isHTMLDocument() const;
95 BLINK_EXPORT bool isXHTMLDocument() const; 96 BLINK_EXPORT bool isXHTMLDocument() const;
96 BLINK_EXPORT bool isPluginDocument() const; 97 BLINK_EXPORT bool isPluginDocument() const;
97 BLINK_EXPORT WebURL baseURL() const; 98 BLINK_EXPORT WebURL baseURL() const;
98 99
99 // The firstPartyForCookies is used to compute whether this document 100 // The firstPartyForCookies is used to compute whether this document
100 // appears in a "third-party" context for the purpose of third-party 101 // appears in a "third-party" context for the purpose of third-party
101 // cookie blocking. 102 // cookie blocking.
102 BLINK_EXPORT WebURL firstPartyForCookies() const; 103 BLINK_EXPORT WebURL firstPartyForCookies() const;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 BLINK_EXPORT WebDocument& operator=(Document*); 152 BLINK_EXPORT WebDocument& operator=(Document*);
152 BLINK_EXPORT operator Document*() const; 153 BLINK_EXPORT operator Document*() const;
153 #endif 154 #endif
154 }; 155 };
155 156
156 DECLARE_WEB_NODE_TYPE_CASTS(WebDocument); 157 DECLARE_WEB_NODE_TYPE_CASTS(WebDocument);
157 158
158 } // namespace blink 159 } // namespace blink
159 160
160 #endif 161 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebDeviceEmulationParams.h ('k') | third_party/WebKit/public/web/WebFileChooserParams.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698