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

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

Issue 1211003007: Remove scroll offset methods from WebDocument, nothing uses them. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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
« no previous file with comments | « Source/web/WebDocument.cpp ('k') | no next file » | 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 BLINK_EXPORT WebElement focusedElement() const; 110 BLINK_EXPORT WebElement focusedElement() const;
111 BLINK_EXPORT WebDocumentType doctype() const; 111 BLINK_EXPORT WebDocumentType doctype() const;
112 BLINK_EXPORT void cancelFullScreen(); 112 BLINK_EXPORT void cancelFullScreen();
113 BLINK_EXPORT WebElement fullScreenElement() const; 113 BLINK_EXPORT WebElement fullScreenElement() const;
114 BLINK_EXPORT WebDOMEvent createEvent(const WebString& eventType); 114 BLINK_EXPORT WebDOMEvent createEvent(const WebString& eventType);
115 BLINK_EXPORT WebReferrerPolicy referrerPolicy() const; 115 BLINK_EXPORT WebReferrerPolicy referrerPolicy() const;
116 BLINK_EXPORT WebElement createElement(const WebString& tagName); 116 BLINK_EXPORT WebElement createElement(const WebString& tagName);
117 // Shorthand of frame()->scrollOffset().
118 BLINK_EXPORT WebSize scrollOffset() const;
119 // Shorthand of frame()->minimumScrollOffset().
120 BLINK_EXPORT WebSize minimumScrollOffset() const;
121 // Shorthand of frame()->maximumScrollOffset().
122 BLINK_EXPORT WebSize maximumScrollOffset() const;
123 117
124 // Accessibility support. These methods should only be called on the 118 // Accessibility support. These methods should only be called on the
125 // top-level document, because one accessibility cache spans all of 119 // top-level document, because one accessibility cache spans all of
126 // the documents on the page. 120 // the documents on the page.
127 121
128 // Gets the accessibility object for this document. 122 // Gets the accessibility object for this document.
129 BLINK_EXPORT WebAXObject accessibilityObject() const; 123 BLINK_EXPORT WebAXObject accessibilityObject() const;
130 124
131 // Gets the accessibility object for an object on this page by ID. 125 // Gets the accessibility object for an object on this page by ID.
132 BLINK_EXPORT WebAXObject accessibilityObjectFromID(int axID) const; 126 BLINK_EXPORT WebAXObject accessibilityObjectFromID(int axID) const;
(...skipping 17 matching lines...) Expand all
150 #if BLINK_IMPLEMENTATION 144 #if BLINK_IMPLEMENTATION
151 WebDocument(const PassRefPtrWillBeRawPtr<Document>&); 145 WebDocument(const PassRefPtrWillBeRawPtr<Document>&);
152 WebDocument& operator=(const PassRefPtrWillBeRawPtr<Document>&); 146 WebDocument& operator=(const PassRefPtrWillBeRawPtr<Document>&);
153 operator PassRefPtrWillBeRawPtr<Document>() const; 147 operator PassRefPtrWillBeRawPtr<Document>() const;
154 #endif 148 #endif
155 }; 149 };
156 150
157 } // namespace blink 151 } // namespace blink
158 152
159 #endif 153 #endif
OLDNEW
« no previous file with comments | « Source/web/WebDocument.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698