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

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

Issue 329943004: Implementation of brand-color (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 } 75 }
76 void assign(const WebDocument& e) { WebNode::assign(e); } 76 void assign(const WebDocument& e) { WebNode::assign(e); }
77 77
78 BLINK_EXPORT WebURL url() const; 78 BLINK_EXPORT WebURL url() const;
79 // Note: Security checks should use the securityOrigin(), not url(). 79 // Note: Security checks should use the securityOrigin(), not url().
80 BLINK_EXPORT WebSecurityOrigin securityOrigin() const; 80 BLINK_EXPORT WebSecurityOrigin securityOrigin() const;
81 81
82 BLINK_EXPORT WebString encoding() const; 82 BLINK_EXPORT WebString encoding() const;
83 BLINK_EXPORT WebString contentLanguage() const; 83 BLINK_EXPORT WebString contentLanguage() const;
84 BLINK_EXPORT WebString referrer() const; 84 BLINK_EXPORT WebString referrer() const;
85 BLINK_EXPORT WebColor brandColor() const;
85 86
86 // The url of the OpenSearch Desription Document (if any). 87 // The url of the OpenSearch Desription Document (if any).
87 BLINK_EXPORT WebURL openSearchDescriptionURL() const; 88 BLINK_EXPORT WebURL openSearchDescriptionURL() const;
88 89
89 // Returns the frame the document belongs to or 0 if the document is framele ss. 90 // Returns the frame the document belongs to or 0 if the document is framele ss.
90 BLINK_EXPORT WebLocalFrame* frame() const; 91 BLINK_EXPORT WebLocalFrame* frame() const;
91 BLINK_EXPORT bool isHTMLDocument() const; 92 BLINK_EXPORT bool isHTMLDocument() const;
92 BLINK_EXPORT bool isXHTMLDocument() const; 93 BLINK_EXPORT bool isXHTMLDocument() const;
93 BLINK_EXPORT bool isPluginDocument() const; 94 BLINK_EXPORT bool isPluginDocument() const;
94 BLINK_EXPORT WebURL baseURL() const; 95 BLINK_EXPORT WebURL baseURL() const;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 #if BLINK_IMPLEMENTATION 140 #if BLINK_IMPLEMENTATION
140 WebDocument(const PassRefPtrWillBeRawPtr<WebCore::Document>&); 141 WebDocument(const PassRefPtrWillBeRawPtr<WebCore::Document>&);
141 WebDocument& operator=(const PassRefPtrWillBeRawPtr<WebCore::Document>&); 142 WebDocument& operator=(const PassRefPtrWillBeRawPtr<WebCore::Document>&);
142 operator PassRefPtrWillBeRawPtr<WebCore::Document>() const; 143 operator PassRefPtrWillBeRawPtr<WebCore::Document>() const;
143 #endif 144 #endif
144 }; 145 };
145 146
146 } // namespace blink 147 } // namespace blink
147 148
148 #endif 149 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698