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

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

Issue 179293007: Remove deprecated focusedNode APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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/WebViewImpl.cpp ('k') | public/web/WebView.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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 BLINK_EXPORT WebElement documentElement() const; 101 BLINK_EXPORT WebElement documentElement() const;
102 BLINK_EXPORT WebElement body() const; 102 BLINK_EXPORT WebElement body() const;
103 BLINK_EXPORT WebElement head(); 103 BLINK_EXPORT WebElement head();
104 BLINK_EXPORT WebString title() const; 104 BLINK_EXPORT WebString title() const;
105 BLINK_EXPORT WebElementCollection all(); 105 BLINK_EXPORT WebElementCollection all();
106 BLINK_EXPORT void forms(WebVector<WebFormElement>&) const; 106 BLINK_EXPORT void forms(WebVector<WebFormElement>&) const;
107 BLINK_EXPORT void images(WebVector<WebElement>&); 107 BLINK_EXPORT void images(WebVector<WebElement>&);
108 BLINK_EXPORT WebURL completeURL(const WebString&) const; 108 BLINK_EXPORT WebURL completeURL(const WebString&) const;
109 BLINK_EXPORT WebElement getElementById(const WebString&) const; 109 BLINK_EXPORT WebElement getElementById(const WebString&) const;
110 // Deprecated API. Use focusedElement() instead.
111 BLINK_EXPORT WebNode focusedNode() const;
112 BLINK_EXPORT WebElement focusedElement() const; 110 BLINK_EXPORT WebElement focusedElement() const;
113 BLINK_EXPORT WebDocumentType doctype() const; 111 BLINK_EXPORT WebDocumentType doctype() const;
114 BLINK_EXPORT void cancelFullScreen(); 112 BLINK_EXPORT void cancelFullScreen();
115 BLINK_EXPORT WebElement fullScreenElement() const; 113 BLINK_EXPORT WebElement fullScreenElement() const;
116 BLINK_EXPORT WebDOMEvent createEvent(const WebString& eventType); 114 BLINK_EXPORT WebDOMEvent createEvent(const WebString& eventType);
117 BLINK_EXPORT WebReferrerPolicy referrerPolicy() const; 115 BLINK_EXPORT WebReferrerPolicy referrerPolicy() const;
118 BLINK_EXPORT WebElement createElement(const WebString& tagName); 116 BLINK_EXPORT WebElement createElement(const WebString& tagName);
119 117
120 // Accessibility support. These methods should only be called on the 118 // Accessibility support. These methods should only be called on the
121 // top-level document, because one accessibility cache spans all of 119 // top-level document, because one accessibility cache spans all of
(...skipping 19 matching lines...) Expand all
141 #if BLINK_IMPLEMENTATION 139 #if BLINK_IMPLEMENTATION
142 WebDocument(const WTF::PassRefPtr<WebCore::Document>&); 140 WebDocument(const WTF::PassRefPtr<WebCore::Document>&);
143 WebDocument& operator=(const WTF::PassRefPtr<WebCore::Document>&); 141 WebDocument& operator=(const WTF::PassRefPtr<WebCore::Document>&);
144 operator WTF::PassRefPtr<WebCore::Document>() const; 142 operator WTF::PassRefPtr<WebCore::Document>() const;
145 #endif 143 #endif
146 }; 144 };
147 145
148 } // namespace blink 146 } // namespace blink
149 147
150 #endif 148 #endif
OLDNEW
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | public/web/WebView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698