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

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

Issue 152243003: Rename WebNodeCollection to WebElementCollection for clarity (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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
« no previous file with comments | « Source/web/web.gypi ('k') | public/web/WebElementCollection.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 class Value; 50 class Value;
51 template <class T> class Handle; 51 template <class T> class Handle;
52 } 52 }
53 53
54 namespace blink { 54 namespace blink {
55 class WebAXObject; 55 class WebAXObject;
56 class WebDocumentType; 56 class WebDocumentType;
57 class WebElement; 57 class WebElement;
58 class WebFormElement; 58 class WebFormElement;
59 class WebFrame; 59 class WebFrame;
60 class WebNodeCollection; 60 class WebElementCollection;
61 class WebNodeList; 61 class WebNodeList;
62 class WebString; 62 class WebString;
63 class WebURL; 63 class WebURL;
64 64
65 // Provides readonly access to some properties of a DOM document. 65 // Provides readonly access to some properties of a DOM document.
66 class WebDocument : public WebNode { 66 class WebDocument : public WebNode {
67 public: 67 public:
68 // FIXME: Stop using this from Chromium code and get rid of this enum. 68 // FIXME: Stop using this from Chromium code and get rid of this enum.
69 enum UserStyleLevel { 69 enum UserStyleLevel {
70 UserStyleAuthorLevel 70 UserStyleAuthorLevel
(...skipping 29 matching lines...) Expand all
100 100
101 // The firstPartyForCookies is used to compute whether this document 101 // The firstPartyForCookies is used to compute whether this document
102 // appears in a "third-party" context for the purpose of third-party 102 // appears in a "third-party" context for the purpose of third-party
103 // cookie blocking. 103 // cookie blocking.
104 BLINK_EXPORT WebURL firstPartyForCookies() const; 104 BLINK_EXPORT WebURL firstPartyForCookies() const;
105 105
106 BLINK_EXPORT WebElement documentElement() const; 106 BLINK_EXPORT WebElement documentElement() const;
107 BLINK_EXPORT WebElement body() const; 107 BLINK_EXPORT WebElement body() const;
108 BLINK_EXPORT WebElement head(); 108 BLINK_EXPORT WebElement head();
109 BLINK_EXPORT WebString title() const; 109 BLINK_EXPORT WebString title() const;
110 BLINK_EXPORT WebNodeCollection all(); 110 BLINK_EXPORT WebElementCollection all();
111 BLINK_EXPORT void forms(WebVector<WebFormElement>&) const; 111 BLINK_EXPORT void forms(WebVector<WebFormElement>&) const;
112 BLINK_EXPORT void images(WebVector<WebElement>&); 112 BLINK_EXPORT void images(WebVector<WebElement>&);
113 BLINK_EXPORT WebURL completeURL(const WebString&) const; 113 BLINK_EXPORT WebURL completeURL(const WebString&) const;
114 BLINK_EXPORT WebElement getElementById(const WebString&) const; 114 BLINK_EXPORT WebElement getElementById(const WebString&) const;
115 BLINK_EXPORT WebNode focusedNode() const; 115 BLINK_EXPORT WebNode focusedNode() const;
116 BLINK_EXPORT WebDocumentType doctype() const; 116 BLINK_EXPORT WebDocumentType doctype() const;
117 BLINK_EXPORT void cancelFullScreen(); 117 BLINK_EXPORT void cancelFullScreen();
118 BLINK_EXPORT WebElement fullScreenElement() const; 118 BLINK_EXPORT WebElement fullScreenElement() const;
119 BLINK_EXPORT WebDOMEvent createEvent(const WebString& eventType); 119 BLINK_EXPORT WebDOMEvent createEvent(const WebString& eventType);
120 BLINK_EXPORT WebReferrerPolicy referrerPolicy() const; 120 BLINK_EXPORT WebReferrerPolicy referrerPolicy() const;
(...skipping 25 matching lines...) Expand all
146 #if BLINK_IMPLEMENTATION 146 #if BLINK_IMPLEMENTATION
147 WebDocument(const WTF::PassRefPtr<WebCore::Document>&); 147 WebDocument(const WTF::PassRefPtr<WebCore::Document>&);
148 WebDocument& operator=(const WTF::PassRefPtr<WebCore::Document>&); 148 WebDocument& operator=(const WTF::PassRefPtr<WebCore::Document>&);
149 operator WTF::PassRefPtr<WebCore::Document>() const; 149 operator WTF::PassRefPtr<WebCore::Document>() const;
150 #endif 150 #endif
151 }; 151 };
152 152
153 } // namespace blink 153 } // namespace blink
154 154
155 #endif 155 #endif
OLDNEW
« no previous file with comments | « Source/web/web.gypi ('k') | public/web/WebElementCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698